Newbie switching from TCL

Paul Duffin pduffin at hursley.ibm.com
Thu Aug 24 12:49:42 EDT 2000


Alex Martelli wrote:
> 
> "Paul Duffin" <pduffin at hursley.ibm.com> wrote in message
> news:39A506B8.C32B8857 at hursley.ibm.com...
>     [snip]
> > BTW. Does overlapping I/O work with sockets ?
> 
> Yes, if the socket is built with the overlapped attribute.
> 
> Normally, the socket() function does so build it, but the
> default can be changed (at winsock stack installation
> time, I think) -- one may also use WSA_FLAG_OVERLAPPED
> among the dwFlags parameter to WSASocket to avoid relying
> on any such maybe-changeable default.
> 
> WSASend, WSARecv, etc, all accept pointers to WSAOVERLAPPED
> structures and completion-routines (can be passed as 0 for
> non-overlapped operation).
> 
> This is true of 'Windows Socket 2', btw, and wasn't back
> in winsock 1.whatever -- but winsock 2 _has_ been around
> for a while now, I think.
> 

Thanks for that, do you know what version of winsock (if any) is installed
by default on the current versions of Windows ?



More information about the Python-list mailing list