Java.Net.SocketImpl Members

The members of Java.Net.SocketImpl are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Protected Properties

AddressInetAddress. The remote address this socket is connected to.
FdJava.IO.FileDescriptor. The file descriptor of this socket.
[read-only]
FileDescriptorJava.IO.FileDescriptor. Gets the file descriptor of this socket.
[read-only]
InetAddressInetAddress. Gets the remote address this socket is connected to.
[read-only]
abstract
InputStreamSystem.IO.Stream. Gets the input stream of this socket.
Localportint. The local port this socket is connected to.
[read-only]
LocalPortint. Gets the local port number of this socket.
[read-only]
abstract
OutputStreamSystem.IO.Stream. Gets the output stream of this socket.
[read-only]
Portint. Gets the remote port number of this socket.
[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

abstract
GetOption(int) : Java.Lang.Object
Documentation for this section has not yet been entered.
abstract
SetOption(int, Java.Lang.Object)
Documentation for this section has not yet been entered.

Protected Methods

abstract
Accept(SocketImpl)
Waits for an incoming request and blocks until the connection is opened on the given socket.
AcceptAsync(SocketImpl) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
abstract
Available() : int
Returns the available number of bytes which are readable from this socket without blocking.
abstract
Bind(InetAddress, int)
Binds this socket to the specified local host address and port number.
abstract
Close()
Closes this socket.
abstract
Connect(InetAddress, int)
Connects this socket to the specified remote host address and port number.
abstract
Connect(SocketAddress, int)
Connects this socket to the remote host address and port number specified by the SocketAddress object with the given timeout.
abstract
Connect(string, int)
Connects this socket to the specified remote host and port number.
ConnectAsync(InetAddress, int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
ConnectAsync(SocketAddress, int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
ConnectAsync(string, int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
abstract
Create(bool)
Creates a new unconnected socket.
abstract
Listen(int)
Listens for connection requests on this streaming socket.
abstract
SendUrgentData(int)
Sends the single byte of urgent data on the socket.
SendUrgentDataAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
SetPerformancePreferences(int, int, int)
Sets performance preference for connection time, latency and bandwidth.
ShutdownInput()
Closes the input channel of this socket.
ShutdownOutput()
Closes the output channel of this socket.
SupportsUrgentData() : bool
Returns whether the socket supports urgent data or not.