Forum Discussion
Altera_Forum
Honored Contributor
21 years agoUDP send always fails with -1
Hi, We have a simple setup running on Altera development board where we are attempting to send a UDP packet out to a PC for collcetion. Starting with the net example files, I was able to build...
Altera_Forum
Honored Contributor
21 years agoI've taken a different approach, and tried the ping test in the net packages. That worked. So I added the client() function from above into the ping code just after the ping call. The UDP send works now.
So I conclude that the origianl UDP code is missing a crucial piece of its initialization, and that is causing things to fall over. Can anyone confirm this hypothesis, and tell me what was missing? Thanks