Essential NetTools Help Documentation

Prev Page Next Page


RawSocket provides you with the tools that allow you to send and receive raw data to/from an IP address, as well as listen for inbound TCP or UDP connections on any local port. It is useful in troubleshooting different networking services and understanding application-level protocols, such as POP, SMTP, or DAYTIME. The sample screen shot displays an HTTP session that you can establish using this tool:



To connect to a remote host, enter an IP address or hostname, select a destination port, and click Connect. Once the connection is established, you can enter any data in the Data input field and click the Send button to send the data to the remote host. When sending data, you can toggle the characters used as a string delimiter: Line Feed (0x0A), Carriage Return + Line Feed (0x0D0A), or no delimiter at all. To send arbitrary characters (including non-printable ones), use [xx] structures, where xx is the hexadecimal code of the character being sent. For instance, the structure [48]ELLO will be translated into HELLO, as the ASCII code of the 'H' character is 0x48. The data being sent is shown in blue; the data being received is shown in red.


To listen for incoming connections, select a local port and click Listen. If a remote host connects to your PC, the information about that connection will be displayed in the window. If the remote host starts sending data to the open local port, the data being sent will be shown in red. You can send data to the remote host as described above. Your data will be shown in blue. To close the local port, click on the Hang Up button.

The information above applies to both RawTCP and RawUDP, with the only exception: Since UDP is a stateless, connectionless protocol; there is no Connect button in RawUDP. To send UDP data, you don't need to establish a connection. Rather, you just need to send the data out.