JNetLibray
|
#include "WinSocketAPI.h"
함수 | |
int | InitWindowSocketLib (LPWSADATA pWsaData) |
SOCKET | CreateWindowSocket_IPv4 (bool isTCP, int *errCode) |
SOCKADDR_IN | CreateDestinationADDR (const char *destIP, uint16 destPort) |
SOCKADDR_IN | CreateDestinationADDR (IN_ADDR destInAddr, uint16 destPort) |
SOCKADDR_IN | CreateDestinationADDR_LoopBack (uint16 destPort) |
SOCKADDR_IN | CreateDestinationADDR_byDomain (WCHAR *destDomain, uint16 destPort) |
bool | ConnectToDestination (const SOCKET &sock, const SOCKADDR_IN &destAddr, int *errCode) |
SOCKADDR_IN | CreateServerADDR (const char *serverIP, uint16 port) |
SOCKADDR_IN | CreateServerADDR_ANY (uint16 port) |
SOCKADDR_IN | CreateServerADDR_LoopBack (uint16 port) |
bool | BindSocket (SOCKET &sock, SOCKADDR_IN &serverAddr, int *errCode) |
bool | ListenSocket (SOCKET &sock, int backlog, int *errCode) |
SOCKET | AcceptSocket (SOCKET &sock, SOCKADDR_IN &clientAddr, int *errCode) |
void | IN_ADDR_TO_STRING (const IN_ADDR &inAddr, char ipStr[16]) |
bool | DomainAddrToIP (WCHAR *szDomain, IN_ADDR *pAddr) |
int InitWindowSocketLib | ( | LPWSADATA | pWsaData | ) |
SOCKET CreateWindowSocket_IPv4 | ( | bool | isTCP, |
int * | errCode ) |
SOCKADDR_IN CreateDestinationADDR | ( | const char * | destIP, |
uint16 | destPort ) |
SOCKADDR_IN CreateDestinationADDR | ( | IN_ADDR | destInAddr, |
uint16 | destPort ) |
SOCKADDR_IN CreateDestinationADDR_LoopBack | ( | uint16 | destPort | ) |
SOCKADDR_IN CreateDestinationADDR_byDomain | ( | WCHAR * | destDomain, |
uint16 | destPort ) |
bool ConnectToDestination | ( | const SOCKET & | sock, |
const SOCKADDR_IN & | destAddr, | ||
int * | errCode ) |
SOCKADDR_IN CreateServerADDR | ( | const char * | serverIP, |
uint16 | port ) |
SOCKADDR_IN CreateServerADDR_ANY | ( | uint16 | port | ) |
SOCKADDR_IN CreateServerADDR_LoopBack | ( | uint16 | port | ) |
bool BindSocket | ( | SOCKET & | sock, |
SOCKADDR_IN & | serverAddr, | ||
int * | errCode ) |
bool ListenSocket | ( | SOCKET & | sock, |
int | backlog, | ||
int * | errCode ) |
SOCKET AcceptSocket | ( | SOCKET & | sock, |
SOCKADDR_IN & | clientAddr, | ||
int * | errCode ) |
void IN_ADDR_TO_STRING | ( | const IN_ADDR & | inAddr, |
char | ipStr[16] ) |
bool DomainAddrToIP | ( | WCHAR * | szDomain, |
IN_ADDR * | pAddr ) |