System::SocketGetInfo
System::SocketGetInfo returns information required for successful TCP communication. The values for this method will increase as demanded.
public System::SocketGetInfo(
Integer infoenum,
variable secondary = TVariable::NONE
: variable results
);
Parameters
| infoenum |
Currently only System::HOST_NAME. |
| secondary |
A secondary parameter reserved for future use. |
| results |
Mixed data type holding whatever was the request information. |
Return Values
The error.errorCode value will be set to the underlining OS error message code and
the error.errorString will have a detailed description of the error
Remarks
Example Use
AString hostName;
System::SocketGetInfo(System::HOST_NAME:hostName);
System::MessageBox(hostName.ToString());
Requirements
Also See
System::SocketConnect, System::SocketReceive, System::SocketSend
Copyright © 2009, Ekky Software Pty Ltd.