[wx-discuss] wxSocket rewrite using Boost.Asio

William H. Schultz whschultz at cedrus.com
Thu May 22 18:06:49 PDT 2008


I'm about to undertake a major rewrite of my socket code, and I'm  
leaning toward reimplementing wxSocket to use Boost.Asio (vs.  
replacing wxSocket in our code with Boost.Asio).  Regardless of  
whether the code goes into the official wxWidgets, I have to do  
something.  I just thought I'd open this up for discussion here to see  
what you guys think.

For those of you not familiar, the documentation is here:  http://asio.sourceforge.net/boost_asio_1_0_0/libs/asio/doc/html/index.html 
   As of Boost version 1.35.0, Asio is part of the library.

My biggest concern is that in a ground-up rewrite, I may not be able  
to make it 100% backwards compatible.  But considering how much work I  
had to put into getting my code to work with the existing bugs and  
weaknesses in wxSocket, I'm not certain that this would be a big  
deal.  Furthermore, this would make wxWidgets dependent on the boost  
libraries, but I'm not certain that's such a bad thing, as boost has a  
lot to offer.


What do you all think?


-------------------------------
Hank Schultz
Cedrus Corporation
http://www.cedrus.com/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.wxwidgets.org/pipermail/wx-discuss/attachments/20080522/0b3da3c8/PGP.pgp


More information about the wx-discuss mailing list