public static class NativeAPIEmulation.windows.wsock32
extends java.lang.Object
Constructor and Description |
---|
wsock32() |
Modifier and Type | Method and Description |
---|---|
static int64 |
gethostbyname(character hostName)
Gets the host name of the host the client is currently running.
|
static int |
gethostname(character hostName,
int64 nbLength)
Gets the name of the host the client is currently running.
|
static memptr |
inet_ntoa(int64 addrInputStruct)
Gets the host name of the host the client is currently running.
|
static int |
wSACleanup()
Finalizes the socket library to use.
|
static int |
wSAStartup(integer versionReq,
int64 wsaDataPointer)
Prepares the socket library to get inet info.
|
public static int wSAStartup(integer versionReq, int64 wsaDataPointer)
versionReq
- A pointer to the version buffer, not used.wsaDataPointer
- The pointer to input data buffer, not used.public static int wSACleanup()
public static int gethostname(character hostName, int64 nbLength)
hostName
- A pointer to the buffer to receive the client side hostname.nbLength
- On input, this variable specifies the size of the hostName buffer, in TCHARs.
Currently the value is ignoring.public static int64 gethostbyname(character hostName)
hostName
- A character based hostname.public static memptr inet_ntoa(int64 addrInputStruct)
addrInputStruct
- Structure containing digital representation of the Internet address.