Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Lwip standalone server

Altera_Forum
Honored Contributor II
976 Views

Hello to all, 

The Lwip_web_server example has the main in lwip_web_server.c 

at the and of this there is a while cycle what does it do? 

What does lan91c111if_service(&netif) function do?
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
259 Views

 

--- Quote Start ---  

originally posted by bigmickey@Sep 28 2005, 05:09 AM 

at the and of this there is a while cycle what does it do? <div align='right'><{post_snapback}> (index.php?act=findpost&pid=10008) 

--- quote end ---  

 

--- Quote End ---  

 

That&#39;s your main loop. 

 

 

--- Quote Start ---  

originally posted by bigmickey@Sep 28 2005, 05:09 AM 

what does lan91c111if_service(&netif) function do? 

--- Quote End ---  

 

That services the Ethernet chip so you can send and receive stuff.
0 Kudos
Altera_Forum
Honored Contributor II
259 Views

Thank you 4 reply. 

Now... if i have one server i usually see something similar 

 

-new scoket 

-bind 

-listen 

 

begin cycle 

-accept 

-receive 

-send 

end cycle 

 

in this case i have 2 o 3 servers how does it work with only a cycle in which there&#39;s 

a generic lanservice()? 

 

thank you in advance
0 Kudos
Reply