java.lang.Object
java.net.DatagramSocketImpl
com.act365.net.GeneralDatagramSocketImpl
com.act365.net.TCPDatagramSocketImpl
- All Implemented Interfaces:
- java.net.SocketOptions
- public class TCPDatagramSocketImpl
- extends GeneralDatagramSocketImpl
A socket class for the transmission of TCP packets.
The operating system will write the necessary IP headers.
| Fields inherited from interface java.net.SocketOptions |
IP_MULTICAST_IF, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS, SO_BINDADDR, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY |
|
Method Summary |
void |
create()
Creates a new unconnected raw socket that uses the TCP protocol. |
| Methods inherited from class com.act365.net.GeneralDatagramSocketImpl |
_bind, _close, _getOption, _getSocketDescriptor, _receive, _send, _setOption, _setSocketDescriptor, _socket, bind, close, create, getOption, getSocketDescriptor, getTimeToLive, getTTL, join, joinGroup, leave, leaveGroup, peek, peekData, receive, send, setOption, setSocketDescriptor, setTimeToLive, setTTL |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPDatagramSocketImpl
public TCPDatagramSocketImpl()
create
public void create()
throws java.net.SocketException
- Creates a new unconnected raw socket that uses the TCP protocol.