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
612 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 ...
3
votes
0answers
109 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, ...
1
vote
0answers
95 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
32 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) ...
1
vote
0answers
37 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 ...
0
votes
0answers
29 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
31 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
32 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
152 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 ...