Düzenle

Aracılığıyla paylaş


CFSocket.SetAddress Method

Definition

Overloads

SetAddress(IPEndPoint)

Sets the listening address for this socket (equivalent to the BSD bind call).

SetAddress(IPAddress, Int32)

Sets the listening address for this socket (equivalent to the BSD bind call).

SetAddress(IPEndPoint)

Sets the listening address for this socket (equivalent to the BSD bind call).

public void SetAddress (System.Net.IPEndPoint endpoint);
member this.SetAddress : System.Net.IPEndPoint -> unit

Parameters

endpoint
IPEndPoint

Applies to

SetAddress(IPAddress, Int32)

Sets the listening address for this socket (equivalent to the BSD bind call).

public void SetAddress (System.Net.IPAddress address, int port);
member this.SetAddress : System.Net.IPAddress * int -> unit

Parameters

address
IPAddress
port
Int32

Applies to