Progress
Language Reference


LOCAL-PORT Attribute

Indicates the port number of the socket.

Data Type: INTEGER

Access: Readable

Applies To: Socket Object Handle

When a server and client successfully establish a connection, both the server and client have a socket object that identifies this connection. On the client, this attribute returns the port number used on the client machine for this socket connection. On the server, this attribute returns the port number used on the server machine for this socket connection. If the CONNECT failed, this attribute returns the unknown (?) value.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095