Matrix1 Utility Plug-ins

CONNECT SOCKET


Syntax

Status = CONNECT SOCKET ( Handle, IpAddress, PortNumber)
Status = CONNECT SOCKET ( Handle, IpAddress, PortNumber, Timeout)

Description

This function establishes a connection to a specified socket on a remote host.

When used with a UDP socket, any data recieved on this socket from a different IP Address or port number will be automatically discarded. The Timeout parameter will be ignored if specified as no actual attempt is made to connect to the remote host.

Returns 1 for connection successful, or 0 for a failure

Go back to ...

Matrix1Util_28 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011