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
  • 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::SocketSend
Listen All
Comments (0)
Characters left: 2500
 
Ekky Software Homepage T-Accounts Online ObjectDatabase++ TScript Ekky Software Homepage T-Accounts Onlinee ObjectDatabase++ TScript