networking - Why is listening on port with Netcat not working -
i running following command on ubuntu:
nc -l -p 5004 -v >> /home/anders/dropbox/netcatfiles/test which includes command make listen @ 5004.
i sending rtp-stream port 5004 using vlc. when observing loopback-interface in wireshark notice icmp-packets message 'destination unreachable'.
opening vlc , telling play incoming data @ port 5004, works, , stream played.
what should in order netcat listen @ port 5004?
i think need add " -u " parameter make listen on udp.
by default, netcat works in tcp mode, rtp protocol udp based.
"the transmission control protocol (tcp), although standardized rtp use,[5] not used in rtp application because tcp favors reliability on timeliness. instead majority of rtp implementations built on user datagram protocol (udp)"
Comments
Post a Comment