System.Net.Socket.TNetEndpoint.SetAddress
Delphi
procedure SetAddress(const Address: string); overload;
procedure SetAddress(const Address: Cardinal); overload;
procedure SetAddress(const B1, B2, B3, B4: Byte); overload;
C++
void __fastcall SetAddress(const System::UnicodeString Address)/* overload */;
void __fastcall SetAddress(const unsigned Address)/* overload */;
void __fastcall SetAddress(const System::Byte B1, const System::Byte B2, const System::Byte B3, const System::Byte B4)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | System.Net.Socket.pas System.Net.Socket.hpp |
System.Net.Socket | TNetEndpoint |
Description
Setter for the Address property.
The accepted parameters are:
Address
: A String or a Cardinal representation of an IPv4 address.B1
,B2
,B3
,B4
: Individual octets of an IPv4 address.