Android.Net.Network.BindSocket Method
Binds the specified Java.Net.Socket to this Network.

Syntax

[Android.Runtime.Register("bindSocket", "(Ljava/net/Socket;)V", "GetBindSocket_Ljava_net_Socket_Handler")]
public virtual void BindSocket (Java.Net.Socket socket)

Parameters

socket
Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOException

Remarks

Binds the specified Java.Net.Socket to this Network. All data traffic on the socket will be sent on this Network, irrespective of any process-wide network binding set by ConnectivityManager.SetProcessDefaultNetwork(Network). The socket must not be connected.

[Android Documentation]

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0