RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAbstractSocket.SetPort Method

Sets the Port property.

Pascal
procedure SetPort(Value: Integer);
C++
__fastcall SetPort(int Value);

SetPort is the protected implementation of the Port property. SetPort raises an ESocketError exception if an attempt is made to set the Port property when the socket connection is open. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!