TCP Protocol

You need to establish two session windows - one as TCP Server and another as TCP Client for communication between them. Note that sometimes you may encounter bind() failure errors, which usually occurs when the specified port is already in use. You can use the previously mentioned cmd commands to check and resolve this issue.

UDP Protocol

UDP doesn’t require handshaking connection. After clicking connect, simply specify the remote host and port to send and receive data.

Chinese Character Encoding Issues