fb:porticula NoPaste
PNE :: include/pne/pne.handler.windows.bi
Uploader: | PMedia |
Datum/Zeit: | 05.12.2007 15:07:17 |
#include once "win/winsock.bi"
const READBUFFLEN = 8192
const NEWLINE = !"\r\n"
declare function connect_ alias "connect" (byval as SOCKET, byval as sockaddr ptr, byval as integer) as integer
Sub StartWinsock() Constructor
Dim wsa As WSADATA
WSAStartup(MAKEWORD(2,0),@wsa)
End Sub
Sub EndWinsock Destructor
WSAcleanup()
End Sub