348
Platforms
©2000-2008 Tibbo Technology Inc.
.Remotemac R/O Property
Function:
For the currently selected socket (selection is made
through
) returns the MAC address of the
host with which this socket had the most recent or
currently has a connection.
Type:
String
Value Range:
Default= "0.0.0.0.0.0"
See Also:
Details
For UDP connections, when the
event handler is entered,
the sock.remotemac will contain the MAC address of the sender of the current UDP
datagram being processed. Outside of the on_sock_data_arrival event handler, the
property will return the source MAC address of the most recent datagram received
by the socket.
.Remoteport R/O Property
Function:
For the currently selected socket (selection is made
through
) returns the port number of the host
with which this socket had the most recent or currently
has a connection.
Type:
Word
Value Range:
0-65535, default= 0
See Also:
,
Details
The application cannot directly change this property, it can only specify the target
port for active opens through the
property.
For UDP connections, when the
event handler is entered,
the sock.remoteport will contain the port number of the sender of the current
datagram being processed. Outside of the on_sock_data_arrival event handler, the
property will return the source port of the most recent datagram received by the
socket.
.Reset Method
Function:
For the selected socket (selection is made through
) causes the socket to abort the connection with
the other host.
340
347
348
328
342
340
348
347
328
360
342
340