com.TcpRequest.Create
Creates a new TCP request object.
Syntax
com.TcpRequest.Create(
uri STRING )
RETURNS com.TcpRequest
- uri specifies the URL of the TCP request.
Usage
This class method creates a new com.TcpRequest
object based on the URL passed as
parameter.
The URL must use the TCP or TCPS protocol. Examples of valid URLs include:
tcp://localhost:4242/
tcps://localhost:4343/
The URL can be an identifier of a URL mapping with an optional alias:// prefix. See FGLPROFILE configuration for more details about URL mapping with aliases, and for proxy and security configuration.
In case of error, the method throws an exception and sets the
status
variable. Depending on the error, a human-readable description of the
problem is available in the sqlca.sqlerrm
register. See Error handling in GWS calls (status).