@@



socket- , , ( ) ( ).

WSAStartup

|

Socket

/ \

򠠠

/ \ \

TCP UDP bind

\ / \ / \

connect |-sendto TCP UDP

| |-recvfrom | |

|-send listen |

|-recvfrom | |

\ /

accept

/ \

TCP UDP

|-send |-sendto

|-recv |-recvform

||

\/

closesocket

|

WSAClenup