Used by the class to provide the underlying network socket.
[Visual Basic] Protected Client As Socket [C#] protected Socket Client; [C++] protected: Socket* Client; [JScript] protected var Client : Socket;
TCPClient creates a Socket instance to handle the actual sending and recieving of data over the network. The socket is initialized with the following parameters passed to its constructor:
Item | Description |
---|---|
Address Family | AfInet |
Socket Type | SockStream |
Protocol Type | ProtTCP |
TCPClient Class | TCPClient Members | System.Net.Sockets Namespace