Altera_Forum
Honored Contributor
11 years agoUDP sendto() problems
Hi,
I'm having some strange problems with sending udp data using sendto() and was wondering if this is a known issue? I currently have multiple tasks running network applications, 4 tcp/ip sockets sending and receiving on multiple ethernet interfaces, as well as three UDP sockets using recvfrom() to receive packets. However, I'm unable to send data using sendto(). It's not a software problem as I've tested the very same network code in several linux distros and it works as expected. One really strange thing I've noticed is, if I create a recvfrom() before the sendto() and send a packet from the application waiting to receive, then the application on the board actually does send to the host over the specified port, but only when this is done. My platform looks like this, Cyclone-III Dev board Nios II processor Iniche network libraries uC/OS-ii Thanks for any help in advance! Drew