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. 

 

Active 

ESocketError 

Port

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!