How to use NetCat for Windows to send a binary file to a TCP connection? -


if want transfer binary file "binary.bin" (located in same directory netcat) ip address 127.0.0.1 port 1200 using tcp, how specify using netcat windows?

i found solution. its

nc 127.0.0.1 1200 < binary.bin 

in addition, if response needs saved

nc 127.0.0.1 1200 < binary.bin > response.bin 

Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c# - Making TableLayoutPanel Act Like An HTML Table (Cells That Resize Automatically Around Text) -