The members of Java.Net.ServerSocket are listed below.
See Also: Inherited members from Java.Lang.Object
Constructs a new unbound ServerSocket. | ||
Constructs a new ServerSocket instance bound to the given port. | ||
Constructs a new ServerSocket instance bound to the given port. | ||
Constructs a new ServerSocket instance bound to the given localAddress and port. |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
[read-only] | Channel | Java.Nio.Channels.ServerSocketChannel. Returns this socket's ServerSocketChannel, if one exists. |
[read-only] | InetAddress | InetAddress. Gets the local IP address of this server socket if this socket has ever been bound, null otherwise. |
[read-only] | IsBound | bool. Returns whether this server socket is bound to a local address and port or not. |
[read-only] | IsClosed | bool. Returns whether this server socket is closed or not. |
[read-only] | LocalPort | int. Gets the local port of this server socket or -1 if the socket is not bound. |
[read-only] | LocalSocketAddress | SocketAddress. Gets the local socket address of this server socket or null if the socket is unbound. |
ReceiveBufferSize | int. Returns this socket's SocketOptions.SoRcvbuf. | |
ReuseAddress | bool. Gets the value of the socket option SocketOptions.SO_REUSEADDR. | |
SoTimeout | int. Gets the socket SocketOptions.SoTimeout. |
[read-only] override | ThresholdClass | IntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
[read-only] override | ThresholdType | Type. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code. |
Accept()Waits for an incoming request and blocks until the connection is opened. | ||
AcceptAsync()Documentation for this section has not yet been entered. | ||
Bind(SocketAddress)Binds this server socket to the given local socket address with a maximum backlog of 50 unaccepted connections. | ||
Bind(SocketAddress, int)Binds this server socket to the given local socket address. | ||
Close()Closes this server socket and its implementation. | ||
SetPerformancePreferences(int, int, int)Sets performance preferences for connection time, latency and bandwidth. | ||
static | SetSocketFactory(ISocketImplFactory)Sets the server socket implementation factory of this instance. |
ImplAccept(Socket)Invokes the server socket implementation to accept a connection on the given socket aSocket. | ||
ImplAcceptAsync(Socket)Documentation for this section has not yet been entered. |