SocketTest is a simple program which can act as a client or server. You can use it to connect to a device including barcode printers to send direct commands. When in server mode you can also receive data from another program and see what is being sent.