Netcat is a computer networking service for reading from and writing network connections using TCP or UDP

learn more… | top users | synonyms

0
votes
2answers
893 views

How can I use netcat (nc) for chat client server model?

enter code hereI am trying to write a daemon using bash. I will enter my partners IP address and the connection will start using nc partner_ip 2015, likewise on the server I will start the connection ...
1
vote
1answer
75 views

Need help using Netcat

I have a file on my server that has HL7 messages spread out by a space. Example below. I am wanting to send one of these messages at a time in a continual loop until stopping the script with ctrl+c. I ...
3
votes
0answers
157 views

Remote Mouse netcat (/dev/input/mice)

I was playing around with nc and I'm discovering how powerful and versatile this tool is. I was wondering how the file /dev/input/mice works because when I do cat /dev/input/mice you see the output, ...
2
votes
0answers
43 views

How to make netcat print colourful text?

on my Mac I have an peripheral that sends text data to localhost:2332. Some of them are coloured, like this: "\e[1;31mRed text here\e[m normal text here", I use nc loacal host to monitor the data ...
1
vote
0answers
128 views

'nc' using ~100% CPU when transferring a FIFO file

On the server which is always connected I’m using this in a crontab: @reboot nc -k -l 1337 < /tmp/fifo.fifo On the client which is not always on the network or switched on I’m using this ...
1
vote
0answers
72 views

Pipe a device via USB or wlan

I have an Android phone and I want to use some of its onboard device from PC. To be more clear, there is a node in /dev/ and I want to have on PC a file (or named pipe which is accessable as a file) ...
0
votes
0answers
100 views

Using Ubuntu as a SOCKS Proxy for Torrents - How to allow UDP for trackers?

This is my build: 14.04 LTS (GNU/Linux 2.6.32-042stab094.7 x86_64). I'm a complete noob at linux but have some experience in bind and ISC DCHP on some old solaris boxes (to define the audience!). I ...
0
votes
0answers
66 views

command line tool group chat utility under linux

I am working on mac osx Yosemite. I want to reach to a user under a certain IP address. (It might be local network or thru internet). I want to do it thru terminal using the default tools that ...
0
votes
0answers
57 views

netcat doesn't terminate when stdin closes

I'm trying to send a message through netcat. After sending the message, netcat must terminate. I've tried the following: cat tsmmessage.bin | nc -u localhost 4300 nc -u localhost 4300 < ...
0
votes
0answers
166 views

/usr/bin/ld: cannot find -lc when compiling netcat

I'm trying to compile external-netcat (first for my system, then I'll try for an external embedded device, hence the 'external-netcat') When trying to compile it for my desktop, by running make ...