win32file.WSASend

(rc, cBytesSent) = WSASend(s, buffer , ol , dwFlags )

Winsock send() equivalent function for Overlapped I/O.

Parameters

s : PySocket /int

Socket to send data on.

buffer : string/buffer

Buffer to send data from.

ol : PyOVERLAPPED

An overlapped structure

dwFlags : int

Optional send flags.