System.Net.Socket.TNetEndpoint.SetAddress

提供: RAD Studio API Documentation
移動先: 案内検索

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 */;

プロパティ

種類 可視性 ソース ユニット
procedure
function
public
System.Net.Socket.pas
System.Net.Socket.hpp
System.Net.Socket TNetEndpoint


説明

Address プロパティの設定アクセサです。

受け取るパラメータは次のとおりです。

  • Address: IPv4 アドレスの文字列または Cardinal 表現です。
  • B1B2B3B4: IPv4 アドレスの個々のオクテットです。

関連項目