I have written a udp server which receives client requests using a recvfrom() socket system call, this call receives requests from localhost only, no remote host requests are seen by the recvfrom() call. I tried capturing packets on the receivng port and I can see the packets coming from remote server, but the request don't reach recvfrom(), what could be the matter?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
||||
|
Check to make sure a firewall isn't active. (Adapted from ktf's comment) |
||||
|
|

netstat -an | grep the_port_you_use. – Mat Nov 11 '11 at 9:28