System.Win.ScktComp.TAbstractSocket.SetPort

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetPort(Value: Integer);

C++

void __fastcall SetPort(int Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
System.Win.ScktComp.pas
System.Win.ScktComp.hpp
System.Win.ScktComp TAbstractSocket

Description

Sets the Port property.

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.

See Also