Monday, May 29, 2006

Networking Hacks

How to chat without using talk

At Server side:
nc -l -p 5600 -vv
At client Side:
nc 10.100.116.37 5600

Here 10.100.116.37 is the ip of server. 5600 is the port.

How to transfer file with out using ftp

At Server Side:
nc -v -w 30 -p 5600 -l > filename.back
At Client Side:
nc -v -w 2 10.100.116.37 5600 < filename