Monday, May 09, 2011

netcat for windows

http://sourceforge.net/projects/netcat/
http://stackoverflow.com/questions/2040817/how-to-use-netcat-for-windows-to-send-a-binary-file-to-a-tcp-connection

Windows:
nc IP port < file

Linux:
nc -l -p port > /dev/null

[Note]
if you can not end the connection when finish, add "-w 2" in linux side...
[Note] server: nc -l port

No comments:

Related Posts Plugin for WordPress, Blogger...