public interface CommonSocketOptions
| Modifier and Type | Method and Description |
|---|---|
void |
setLocalAddress(String localAddress)
On a multi-homed system, specifies the ip address of the network interface used to communicate.
|
void |
setSoReceiveBufferSize(int soReceiveBufferSize) |
void |
setSoSendBufferSize(int soSendBufferSize) |
void |
setSoTimeout(int soTimeout) |
void setSoTimeout(int soTimeout)
soTimeout - The timeout.Socket.setSoTimeout(int),
DatagramSocket.setSoTimeout(int)void setSoReceiveBufferSize(int soReceiveBufferSize)
soReceiveBufferSize - The receive buffer size.Socket.setReceiveBufferSize(int),
DatagramSocket.setReceiveBufferSize(int)void setSoSendBufferSize(int soSendBufferSize)
soSendBufferSize - The send buffer size.Socket.setSendBufferSize(int),
DatagramSocket.setSendBufferSize(int)void setLocalAddress(String localAddress)
localAddress - The local address.