Javax.Net.ServerSocketFactory.CreateServerSocket Method
Creates a new server socket which is bound to the given address on the specified port and configures its maximum of queued connections.

Syntax

[Android.Runtime.Register("createServerSocket", "(IILjava/net/InetAddress;)Ljava/net/ServerSocket;", "GetCreateServerSocket_IILjava_net_InetAddress_Handler")]
public abstract Java.Net.ServerSocket CreateServerSocket (int port, int backlog, Java.Net.InetAddress iAddress)

Parameters

port
the port on which the created socket has to listen.
backlog
the maximum number of unaccepted connections. Passing 0 or a negative value yields the default backlog of 50.
iAddress
the address of the network interface which is used by the created socket.

Returns

Documentation for this section has not yet been entered.

Exceptions

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

Remarks

Creates a new server socket which is bound to the given address on the specified port and configures its maximum of queued connections.

[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