Microsoft extension functions

windows socket2 defines an extension mechanism that allows windows socket services provide application designers who want to export advanced data transmission function


1 GetAcceptExSockaddrs function

Paste AcceptEx function data acquired from the local and remote addresses transmitted to the structure sockaddr

2 TransmitFile function

Transfer file data on a socket handle connected

3 TransmitPackets function

And TransmitFile similar, except that both may send a file, the data may be transmitted in the buffer memory

4 ConnextEx function

Establish a connection for the specified sub-eh package, after the connection is established, data can be transmitted, only supports connection-oriented socket

5 DisconnectEx function

Close the connection on the socket, the socket handle to allow reuse

Reproduced in: https: //my.oschina.net/u/204616/blog/545236

Guess you like

Origin blog.csdn.net/weixin_34392435/article/details/91989803