Workaround for getpeername() issue
getpeername() is returning invalid addresses on ipv6 sockets accepted with AcceptEx, filling only 16 bytes of the address structure. Providing a workaround by saving the remote address returned by GetAcceptExSockaddrs, which is valid.
Showing
想要评论请 注册 或 登录