Matrix1 Utility Plug-ins

SOCKET REMOTE PORT


Syntax

IpAddress = SOCKET REMOTE PORT ( Handle )

Description

Returns the port number that a connected socket is using on the remote machine, or a value of 0 if it is not possible to determine a port number.

When used on a UDP socket, the value returned is the port number of the remote machine that transmitted the data.

In both cases, this function returns the port number for the last successful read or peek of the data (ie, use this function after actually reading data from the socket).

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