http://en.wikipedia.org/wiki/Internet_socket
The socket implementation on protocoltool will only allow one connexion at a time. It's assumed that the socket connexion itself is not been tested. It's rather the binary protocol.
If there's no telnet server running on the machine, use protocoltool to set up a socket server on port 23 (Telnet). It should be accessible by any telnet client.
You can also run 2 instances of the program and set 1 as the server and 2 as the client. The 2 instances of protocoltool can be located on 2 different machines.
Only the TCP socket is implemented for now. I don't plan to implement other protocols, since there are tools more specialized on ethernet packets themselves,
The URL can be specified either as a name or its IP address, ex.: localhost, remote_computer or 192.168.0.xxx. Only the client needs to specify the URL.
Check this application for more detailed control on the packet format:
PackEth (http://packeth.sourceforge.net)
Several similar applications:
hping (http://www.hping.org)
Nemesis (http://nemesis.sourceforge.net)
Scapy (http://www.secdev.org/projects/scapy)
Yersinia (http://www.yersinia.net)
SendIP (http://www.earth.li/projectpurple/progs/sendip.html)
Mausezahn (http://www.perihel.at/sec/mz)