kruptos, do you have a link to where i can get this book?
Printable View
kruptos, do you have a link to where i can get this book?
No, your "ping" and "netstat" are WINDOWS commands (Unix originally obviously), they are not part of DOS, nor do they run in DOS.Quote:
Originally posted here by TheDreamer
is there a way to connect to someone else through DOS? You can use it ping and netstat ...
The Windows command prompt is not a DOS prompt. Although you can run some dos programs from there, many of the programs are in fact Windows 32-bit console mode applications.
IT IS NOT DOS
Ok, glad we've cleared that one up
Slarty
OK. there is a neat little utility called netcat. It is available for unix,
and for windows.
http://www.atstake.com/research/tool...ork_utilities/
In windows, it runs as a command line application,
so you could say it runs in DOS, but not plain DOS, a DOS
window under windows.
Both you and your friend must have it installed on your own computers
and be connected to the net. The executable is NC.EXE
One of you types this command nc -l -p 1234
where "1234" is an arbitrary port number. 1234 would work, in fact.
The second guy types (on his computer) nc <ip address> 1234
where "ip address" is his buddies ip address.
now the two of you can type anything you want and it appears on each
others screen.
type CONTROL-C to break the connection.
:cool: