AsynchronousSocketChannel.Connect AsynchronousSocketChannel.Connect Method

Definition

Overloads

Connect(SocketAddress) Connect(SocketAddress)
Connect(SocketAddress, Object, ICompletionHandler) Connect(SocketAddress, Object, ICompletionHandler)

Connect(SocketAddress) Connect(SocketAddress)

[Android.Runtime.Register("connect", "(Ljava/net/SocketAddress;)Ljava/util/concurrent/Future;", "GetConnect_Ljava_net_SocketAddress_Handler")]
public abstract Java.Util.Concurrent.IFuture Connect (Java.Net.SocketAddress remote);
abstract member Connect : Java.Net.SocketAddress -> Java.Util.Concurrent.IFuture

Parameters

Returns

Remarks

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.

Connect(SocketAddress, Object, ICompletionHandler) Connect(SocketAddress, Object, ICompletionHandler)

[Android.Runtime.Register("connect", "(Ljava/net/SocketAddress;Ljava/lang/Object;Ljava/nio/channels/CompletionHandler;)V", "GetConnect_Ljava_net_SocketAddress_Ljava_lang_Object_Ljava_nio_channels_CompletionHandler_Handler")]
[Java.Interop.JavaTypeParameters(new System.String[] { "A" })]
public abstract void Connect (Java.Net.SocketAddress remote, Java.Lang.Object attachment, Java.Nio.Channels.ICompletionHandler handler);
abstract member Connect : Java.Net.SocketAddress * Java.Lang.Object * Java.Nio.Channels.ICompletionHandler -> unit

Parameters

attachment
Object Object

Remarks

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