(iFamily, LocalSockAddr , RemoteSockAddr ) = GetAcceptExSockaddrs(sAccepting, buffer )

Parses the connection endpoints from the buffer passed into AcceptEx


sAccepting : PySocket /int

Socket that was passed into the sAccepting parameter of AcceptEx

buffer : PyOVERLAPPEDReadBuffer

Buffer you passed into AcceptEx


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.