It can often be useful to test LLP implementations using a low-level tool to view the raw data being transmitted by an interface. An example of such a tool is MSOCS (shown below).
MSOCS Test Program
MSOCS is a very simple tool to use and is useful for testing TCP/IP LLP Connections.
To use the MSOCS application:
- Check either the Client or Server radio button.
- In the Server TCP Port field, type the port you are sending data to.
The Receive field will be populated with output when a message is sent.
- Cut and paste that message into a text editor, such as Notepad, and save the file as a text (.txt) file.
- Open this file in Visual C++, or in any hex editor that you prefer to use, making sure to do so in binary mode.
y examining the exact hexadecimal codes of the message, you can see exactly what is being sent. This is an excellent diagnostic tool for solving low-level problems.
An alternative tool to MSOCS that you may find useful is Wireshark. Wireshark is a network protocol analyzer, used for a variety of purposes such as protocol analysis and network troubleshooting. It is useful for testing the structure of different network protocols such as TCP/IP. It can be run on a variety of platforms such as Windows, Linux and OS X.