다음을 통해 공유


LocalSocket.Bind(LocalSocketAddress) Method

Definition

Binds this socket to an endpoint name.

[Android.Runtime.Register("bind", "(Landroid/net/LocalSocketAddress;)V", "GetBind_Landroid_net_LocalSocketAddress_Handler")]
public virtual void Bind (Android.Net.LocalSocketAddress? bindpoint);
[<Android.Runtime.Register("bind", "(Landroid/net/LocalSocketAddress;)V", "GetBind_Landroid_net_LocalSocketAddress_Handler")>]
abstract member Bind : Android.Net.LocalSocketAddress -> unit
override this.Bind : Android.Net.LocalSocketAddress -> unit

Parameters

bindpoint
LocalSocketAddress

endpoint address

Attributes

Exceptions

Remarks

Binds this socket to an endpoint name. May only be called on an instance that has not yet been bound.

Java documentation for android.net.LocalSocket.bind(android.net.LocalSocketAddress).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to