Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 252 Bytes

tcpsocket.md

File metadata and controls

11 lines (9 loc) · 252 Bytes

cnet::TCPSocket

TCPSocket has the same methods as Socket, the only difference is that it initializes a tcp socket by itself.

class TCPSocket : public Socket
{
public:
	TCPSocket() : Socket(SOCK_STREAM, IPPROTO_TCP) {}
};