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

infoenumcurrently only System::HOST_NAME.
secondarya secondary parameter reserved for future use.
resultsmixed 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
AString hostName;
System::SocketGetInfo(System::HOST_NAME:hostName);
System::MessageBox(hostName.ToString());

Since

TScript Version 1.2

Also See

System::SocketConnect, System::SocketReceive, System::SocketSend
Comments (0)Listen All
Characters left: 2500
 
Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript Ekky Software Homepage Ekky Software Homepage ObjectDatabase++ TScript