API:System.Net.Socket.TIPAddress

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

Delphi

  TIPAddress = record
  private
    FAddr: in_addr;
    class function GetLocalHost: TIPAddress; static; inline;
    class function GetBroadcast: TIPAddress; static; inline;
    class function GetAny: TIPAddress; static; inline;
    class function OctetsToN(const B1, B2, B3, B4: Byte): Cardinal; static; inline;
    function GetAddress: string;
  public
    class function Create(const Name: string): TIPAddress; overload; static;
    class function Create(const Address: Cardinal): TIPAddress; overload; static;
    class function Create(const B1, B2, B3, B4: Byte): TIPAddress; overload; static;
    class function Create(const Address: TIPAddress; Mask: TIPAddress): TIPAddress; overload; static;
    class function Create(const Address: in_addr): TIPAddress; overload; static;
    class function LookupName(const Name: string): TIPAddress; static;
    class function LookupAddress(const Address: string): TIPAddress; static;
    class operator Implicit(const Address: TIPAddress): in_addr; inline;
    property Addr: in_addr read FAddr;
    property Address: string read GetAddress;
    class property Any: TIPAddress read GetAny;
    class property LocalHost: TIPAddress read GetLocalHost;
    class property Broadcast: TIPAddress read GetBroadcast;
  end;

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);
    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

Embarcadero Technologies verfügt zurzeit über keine zusätzlichen Informationen. Bitte unterstützen Sie uns bei der Dokumentation dieses Themas, indem Sie Ihre Kommentare auf der Diskussionsseite eingeben.