Netcat is a computer networking service for reading from and writing network connections using TCP or UDP
2
votes
0answers
66 views
Log from TCP Port breaking messages on characters other than newline
I'm working on a set of scripts to monitor some external services that log to a TCP port.
function handleMessage {
while read message
do
# Handle $message
done
}
nc -d $ipadd $port | ...