
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 windows error message code and the error.errorString will have a detailed description of the error.
Remarks
Example Use
- TScript
main(){ AString hostName; System::SocketGetInfo(System::HOST_NAME:hostName); System::MessageBox(hostName.ToString(]); }
Since
TScript Version 1.2
Also See
System::SocketConnect, System::SocketReceive, System::SocketSendListen All
Comments (0)