Forum Discussion
Altera_Forum
Honored Contributor
20 years agorecv Problems!
http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/ohmy.gif
Hi, i am a c/c++ programmer, sorry but i don't know nothing about fpga programming but i have to estabilish a connection whith an fpga which does the server side. I have a great problem: standard socket blocking recv functions in c return 0 only if the connection is closed by the remote side. I've noticed that often the fpga makes my recv function returns with 0 value even if non one forces the disconnection. Does someone could exlpain it? Have i to use different functions? Thanks to all (even for the patience)!!2 Replies
- Altera_Forum
Honored Contributor
Please someone help me i'm going to get mad!
I need an example of C code about receiveng data from an fpga via socket to understand why my recv doesn't work correctly.... I know that probably this is a stupid thing for you but it won't work! Sorry and Thanks again! http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/wacko.gif - Altera_Forum
Honored Contributor
i've solved the problem...So stupid!!Thanks the same!