You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
740 B
35 lines
740 B
//
|
|
// DWINSOCK.H Dynamic WinSock
|
|
//
|
|
// Functions for dynamically linking to
|
|
// best available WinSock.
|
|
//
|
|
// Dynamically links to WS2_32.DLL or
|
|
// if WinSock 2 isn't available, it
|
|
// dynamically links to WSOCK32.DLL.
|
|
//
|
|
//
|
|
|
|
#ifndef DWINSOCK_H
|
|
#define DWINSOCK_H
|
|
|
|
|
|
int DWSInitWinSock(void);
|
|
void DWSFreeWinSock(void);
|
|
|
|
#if ((! defined(DPNBUILD_ONLYWINSOCK2)) && (! defined(DPNBUILD_NOWINSOCK2)))
|
|
int GetWinsockVersion(void);
|
|
#endif // ! DPNBUILD_ONLYWINSOCK2 and ! DPNBUILD_NOWINSOCK2
|
|
|
|
|
|
#ifndef DPNBUILD_NOIPX
|
|
int IPXAddressToStringNoSocket(LPSOCKADDR pSAddr,
|
|
DWORD dwAddrLen,
|
|
LPSTR lpAddrStr,
|
|
LPDWORD pdwStrLen);
|
|
#endif // ! DPNBUILD_NOIPX
|
|
|
|
|
|
|
|
#endif // DWINSOCK_H
|
|
|