LocalSocket.Bind(LocalSocketAddress) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.