embeddedart / embeddedart.github.io

Embedded Art website https://www.embeddedart.in
0 stars 0 forks source link

netcat - listen tcp and udp data #10

Open embeddedart opened 2 years ago

embeddedart commented 2 years ago
nc -l 9000
nc -lk 9000
nc -lkv 9000

l - Forcing netcat to listen on given host and port instead of opening/making connection with remote host and port

k - Forces nc to stay listening for another connection after its current connection is completed. It is an error to use this option without the -l option.

v - Give verbose output

u - Use UDP. That is, listen for UDP on give port, by default it listens for TCP unless we give this option.