Internet Functions

Up Next

Note: Structure definitions can be found on the structure page.

Name Returns Arguments DLL Alias for
accept uint uint s,str_sockaddr addr, ref int addrlen wsock32.dll
bind integer uint s, str_sockaddr name, int namelen wsock32.dll
closesocket integer uint socket wsock32.dll
FtpRenameFile boolean ulong hConnect, ref string lpszExisting, ref
string lpszNew
wininet.dll
getsockname integer uint s,ref str_sockaddr name, ref int  namelen wsock32.dll
getsockopt integer uint socket, int level, int optname,str_linger optval, int optlen wsock32.dll
htons integer int hostshort wsock32.dll
ntohs integer int netshort wsock32.dll
listen integer uint s, int backlog wsock32.dll
RasDialDlgA Boolean string p, string e, string n, ref str_rasdialdlg s Rasapi32.dll
RasEnumConnectionsA long ref str_RasConn lprasconn[], ref long lpcb, ref long i Rasapi32.dll
RasEnumEntriesA long RasEnumEntriesA(string r, string p, ref str_rasentryname e[], ref long lsize, ref long lentries Rasapi32.dll
RasGetConnectStatusA Ulong ulong hConn, ref str_Rasstatus rs Rasapi32.dll
RasGetEntryDialParamsA Long ref string lpszPhonebook, ref str_RasDialParms rdp, ref boolean lbfPassword Rasapi32.dll
RasGetErrorStringA Long uint l, ref string s, long c Rasapi32.dll
RasHangUpA Ulong ulong hConn Rasapi32.dll
shutdown integer uint s, int how wsock32.dll
send integer int socket, ref blob buf, int len, int flags wsock32.dll
setsockopt integer uint socket, int level, int optname,str_linger optval, int optlen wsock32.dll
socket uint int af, int ttype, int protocol wsock32.dll
recv integer int socket, ref blob buf, int len, int flags wsock32.dll
wsconnect integer uint socket, str_sockaddr name, int namelen wsock32.dll connect
WSACleanup integer wsock32.dll
WSAAsyncSelect integer uint socket, uint Wnd, uint wMsg, long lEvent wsock32.dll
WSACancelBlockingCall integer wsock32.dll
WSAGetLastError integer wsock32.dll
WSAStartup integer uint wVersionRequested, ref str_wsadata lpWSAData wsock32.dll

 

Winsock API functions are provided by Scott Midlleton, MIDDLETONLS@MCCTA.QUANTICO.USMC.MIL

 

Up Next