Forum Discussion

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

simple socket server functions

i know i should write in the nios forum, but i have problems in opening that site.

In the nios 'simple socket server' example, in the c code some functions to manage tcp/ip connection are used: send(),recv(),socket() etc....

where can i find any description of these functions?

there is nothing in headers or various includes...

thank you very much!

:)

2 Replies

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

    It's sockets programming (in this case TCP sockets) and there are plenty of references, around the web, and several good books on the subject.

    Cheers,

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

    try this http://www.beej.us/guide/bgnet/ and in fact there is a copy of the source code for the socket functions implementation of the interniche stack library, do a details dig, you can see it somewhere under the include path.