Android.Net.LocalSocket.Bind Method
Binds this socket to an endpoint name.

Syntax

[Android.Runtime.Register("bind", "(Landroid/net/LocalSocketAddress;)V", "GetBind_Landroid_net_LocalSocketAddress_Handler")]
public virtual void Bind (LocalSocketAddress bindpoint)

Parameters

bindpoint
endpoint address

Exceptions

TypeReason
Java.IO.IOException

Remarks

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

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1