Javax.Net.SocketFactory.CreateSocket Method
Creates a new socket which is not connected to any remote host.

Syntax

[Android.Runtime.Register("createSocket", "()Ljava/net/Socket;", "GetCreateSocketHandler")]
public virtual Java.Net.Socket CreateSocket ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while creating a new socket.

Remarks

Creates a new socket which is not connected to any remote host. This method has to be overridden by a subclass otherwise a SocketException is thrown.

[Android Documentation]

Requirements

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