win32file.GetAcceptExSockaddrs
(iFamily, LocalSockAddr
, RemoteSockAddr
) = GetAcceptExSockaddrs(sAccepting, buffer
)
Parses the connection endpoints from the buffer passed into AcceptEx
Parameters
sAccepting : PySocket
/int
Socket that was passed into the sAccepting parameter of AcceptExbuffer : PyOVERLAPPEDReadBuffer
Buffer you passed into AcceptExComments
LocalSockAddr and RemoteSockAddr are ("xx.xx.xx.xx", port#) if iFamily == AF_INET
otherwise LocalSockAddr and RemoteSockAddr are just binary strings
and they should be unpacked with the struct module.