Java.Net.Socket: Method Members

The methods of Java.Net.Socket are listed below. For a list of all members, see the Socket Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

Bind(SocketAddress)
Binds this socket to the given local host address and port specified by the SocketAddress localAddr.
Close()
Closes the socket.
Connect(SocketAddress)
Connects this socket to the given remote host address and port specified by the SocketAddress remoteAddr.
Connect(SocketAddress, int)
Connects this socket to the given remote host address and port specified by the SocketAddress remoteAddr with the specified timeout.
ConnectAsync(SocketAddress) : 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.
SendUrgentData(int)
Sends the given single byte data which is represented by the lowest octet of value as "TCP urgent data".
SendUrgentDataAsync(int) : System.Threading.Tasks.Task
Documentation for this section has not yet been entered.
SetPerformancePreferences(int, int, int)
Sets performance preferences for connectionTime, latency and bandwidth.
static
SetSocketImplFactory(ISocketImplFactory)
Sets the internal factory for creating socket implementations.
SetSoLinger(bool, int)
Sets this socket's SocketOptions.SoLinger timeout in seconds.
ShutdownInput()
Closes the input stream of this socket.
ShutdownOutput()
Closes the output stream of this socket.