library winsock 
exports 
  _accept=accept @1
  _bind=bind @2
  _closesocket=closesocket @3
  _connect=connect @4
  _getpeername=getpeername @5
  _getsockname=getsockname @6
  _getsockopt=getsockopt @7
  _htonl=htonl @8
  _htons=htons @9
  _inet_addr=inet_addr @10
  _inet_ntoa=inet_ntoa @11
  _ioctlsocket=ioctlsocket @12
  _listen=listen @13
  _ntohl=ntohl @14
  _ntohs=ntohs @15
  _recv=recv @16
  _recvfrom=recvfrom @17
  _select=select @18
  _send=send @19
  _sendto=sendto @20
  _setsockopt=setsockopt @21
  _shutdown=shutdown @22
  _socket=socket @23
  _gethostbyaddr=gethostbyaddr @51
  _gethostbyname=gethostbyname @52
  _getprotobyname=getprotobyname @53
  _getprotobynumber=getprotobynumber @54
  _getservbyname=getservbyname @55
  _getservbyport=getservbyport @56
  _WSASelectWindow=WSASelectWindow @101
  _WSAAsyncGetHostByAddr=WSAAsyncGetHostByAddr @102
  _WSAAsyncGetHostByName=WSAAsyncGetHostByName @103
  _WSAAsyncGetProtoByNumber=WSAAsyncGetProtoByNumber @104
  _WSAAsyncGetProtoByName=WSAAsyncGetProtoByName @105
  _WSAAsyncGetServByPort=WSAAsyncGetServByPort @106
  _WSAAsyncGetServByName=WSAAsyncGetServByName @107
  _WSACancelAsyncRequest=WSACancelAsyncRequest @108
  _WSASetBlockingHook=WSASetBlockingHook @109
  _WSAUnhookBlockingHook=WSAUnhookBlockingHook @110
  _WSAGetLastError=WSAGetLastError @111
  _WSASetLastError=WSASetLastError @112
  _WSACancelBlockingCall=WSACancelBlockingCall @113
  _WSAIsBlocking=WSAIsBlocking @114
  _WSAStartup=WSAStartup @115
  _WSACleanup=WSACleanup @116
  ___WSAFDIsSet=__WSAFDIsSet @151
