Can wxSocket utilize asynchronous I/O on wxMSW?
Dave Bee
davebeeus at yahoo.com
Tue Jul 3 10:19:03 PDT 2007
One of my greater surprises over the differences in
socket use & features between UNIX and Windows
(winsock) was that in order to achieve CPU-efficient
*asynchronous* socket use in Windows, one should not
use the legacy socket/select interface but rather
resort to WSASocket with WSA_FLAG_OVERLAPPED.
While I can always work directly with Win32 API, I
like the encapsulation provided by wxWidgets (in
addition to the almost-taken-for-granted portability
potential, of course).
My question is: Does wxSocket support the
WSA_FLAG_OVERLAPPED mode of operation (in Windows)? Or
do I have to write my own class(es), derived from
wxSocketBase?
Thanks,
Dave
____________________________________________________________________________________
Pinpoint customers who are looking for what you sell.
http://searchmarketing.yahoo.com/
More information about the wx-users
mailing list