Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Nios2----->PC(windows)

I have to connect a Nios2 with a PC on which there's WINXP OS

I cannot use any OS for Nios2 and so I'll use the RAW Api of LWIP.

The question is....

Can I use a telnet client to send and recieve strings?

Do I have to use LWIP also on my PC? or can I use windows sockets?

Thank you all

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/ohmy.gif

    Hi, i am a c/c++ programmer, sorry but i don&#39;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&#39;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)!!