System.Net.Socket.TIPAddress
Delphi
TIPAddress = record
C++
struct DECLSPEC_DRECORD TIPAddress
{
private:
in_addr FAddr;
static TIPAddress __fastcall GetLocalHost();
static TIPAddress __fastcall GetBroadcast();
static TIPAddress __fastcall GetAny();
static unsigned __fastcall OctetsToN(const System::Byte B1, const System::Byte B2, const System::Byte B3, const System::Byte B4);
System::UnicodeString __fastcall GetAddress();
public:
static TIPAddress __fastcall Create(const System::UnicodeString Name)/* overload */;
static TIPAddress __fastcall Create(const unsigned Address)/* overload */;
static TIPAddress __fastcall Create(const System::Byte B1, const System::Byte B2, const System::Byte B3, const System::Byte B4)/* overload */;
static TIPAddress __fastcall Create(const TIPAddress Address, TIPAddress Mask)/* overload */;
static TIPAddress __fastcall Create(const in_addr Address)/* overload */;
static TIPAddress __fastcall LookupName(const System::UnicodeString Name, bool RaiseException = false);
static TIPAddress __fastcall LookupAddress(const System::UnicodeString Address);
__fastcall operator in_addr();
__property in_addr Addr = {read=FAddr};
__property System::UnicodeString Address = {read=GetAddress};
/* static */ __property TIPAddress Any = {read=GetAny};
/* static */ __property TIPAddress LocalHost = {read=GetLocalHost};
/* static */ __property TIPAddress Broadcast = {read=GetBroadcast};
};
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
record struct |
public | System.Net.Socket.pas System.Net.Socket.hpp |
System.Net.Socket | System.Net.Socket |
Beschreibung
Repräsentiert eine IP-Adresse.