lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] run application on linux??


From: Pavel Daniel Lopez Castillo
Subject: [lwip-users] run application on linux??
Date: Fri, 22 May 2009 09:25:23 -0400

How I can run any aplication on linux????
eg: contrib\apps\httpserver_raw
I'm working on debian

         Nunca tomes decisiones en momentos de odio y dolor, pues   puedes 
arrepentirte demasiado tarde.
Ing: Pavel Daniel López Castillo
telefóno: 2146



-----Original Message-----
From: address@hidden on behalf of address@hidden
Sent: Thu 21/05/2009 12:00
To: address@hidden
Subject: lwip-users Digest, Vol 69, Issue 22
 
Send lwip-users mailing list submissions to
        address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.nongnu.org/mailman/listinfo/lwip-users
or, via email, send a message with subject or body 'help' to
        address@hidden

You can reach the person managing the list at
        address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lwip-users digest..."


Today's Topics:

   1. multicast and porting issue. (PELISSIER Christophe)
   2. Re: multicast and porting issue. (address@hidden)
   3. Run Application? (Pavel Daniel Lopez Castillo)
   4. Re: Run Application? (address@hidden)
   5. LWIP - netconn with cooperative scheduling (Mark Phillips)
   6. RE: Run Application? (Bill Auerbach)


----------------------------------------------------------------------

Message: 1
Date: Wed, 20 May 2009 18:50:13 +0200
From: "PELISSIER Christophe" <address@hidden>
Subject: [lwip-users] multicast and porting issue.
To: <address@hidden>
Message-ID:
        <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

Hello,
 
One point is not clear for me, is Lwip able to manage multicast address? can we 
bind, send and receive on multicast address using BSD like interface?
 
Second point is there a porting guide documentation (except wiki)?
 
Regards,
Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.gnu.org/pipermail/lwip-users/attachments/20090520/e7503d2e/attachment.html

------------------------------

Message: 2
Date: Wed, 20 May 2009 21:18:40 +0200
From: "address@hidden" <address@hidden>
Subject: Re: [lwip-users] multicast and porting issue.
To: Mailing list for lwIP users <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

PELISSIER Christophe wrote:
> One point is not clear for me, is Lwip able to manage multicast 
> address? can we bind, send and receive on multicast address using BSD 
> like interface?

If I remember correctly, when things like IGMP are turned off, lwIP 
should not make a difference between unicast and multicast. However, I'm 
not completely sure. If Frédéric would read this, maybe he could clarify 
it (as one of the active developers, he has already used lwIP for 
multicast protocols, so it must be working _somehow_).
> Second point is there a porting guide documentation (except wiki)?

I know this answer is not what you'd like it to be, yet maybe what 
you've expected: as an open source project which is driven mainly by 
people working on it in their free time or as part of their company's 
project, public documentation is not as extensive as many of us would 
like it to be... As with many open source projects, unfortunately most 
of the 'documentation' lies in the source code itself and the 
developer's brains :-(

Nevertheless, if you take the win32 port (maintained mainly by Frédéric 
and me) as an example, things should be great ;-)

Oh, and if you ever feel like writing documentation (especially as a 
beginner who still sees the possible abnormalties in lwIP), please feel 
free to put your know-how in the wiki! After all, the wiki in some 
respects already provides more information than the txt doc files in 
CVS, thanks to our users!

Simon




------------------------------

Message: 3
Date: Wed, 20 May 2009 22:14:43 -0400
From: "Pavel Daniel Lopez Castillo" <address@hidden>
Subject: [lwip-users] Run Application?
To: <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset="iso-8859-1"

After that I download contrib module
how I can Can run any application????

        
I'm working on debian, I also like to know in windows

eg: contrib\apps\httpserver_raw   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 2469 bytes
Desc: not available
Url : 
http://lists.gnu.org/pipermail/lwip-users/attachments/20090520/c5b286b2/attachment.bin

------------------------------

Message: 4
Date: Thu, 21 May 2009 09:28:26 +0200
From: "address@hidden" <address@hidden>
Subject: Re: [lwip-users] Run Application?
To: Mailing list for lwIP users <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Pavel Daniel Lopez Castillo wrote:
> After that I download contrib module
> how I can Can run any application????
>
>       
> I'm working on debian, I also like to know in windows
>
> eg: contrib\apps\httpserver_raw
>   

I can't tell you on linux, but on windows, open 
contrib/ports/win32/msvc6/test.dsw or ../msvc8/lwIP_Test.sln and run it 
(after adding the missing config file lwipcfg_msvc.h from _example). 
That brings you a running lwIP system where you can enable the 
httpserver_raw app.

You might have to install the win-pcap developer's library.

Simon




------------------------------

Message: 5
Date: Thu, 21 May 2009 10:05:54 -0400
From: Mark Phillips <address@hidden>
Subject: [lwip-users] LWIP - netconn with cooperative scheduling
To: address@hidden
Message-ID: <address@hidden>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi, all!

I have ported the LWIP stack, and got it basically working.  However, I 
am running into some problems with multiple sockets, and I was wondering 
if my structure is wrong.

Unlike many OS'es, I am running under a cooperatively-scheduled OS.  A 
running task never gets interrupted except by a real interrupt, or when 
it voluntarily suspends.

I have 2 tasks running the basic stack; one calls ethernetif_input() 
repeatedly (and suspends after each call).  The other one calls 
tcpip_thread().

The only places where lwip code can suspend is either:
a) when reading a mailbox which is empty (suspends once and then 
returns) - this is, in general, how the tcpip_thread suspends.

b) When waiting on a semaphore (suspends repeatedly until sem available 
or timeout).

I have several application tasks which are using the sockets.  Some of 
these are listeners, some are initiators (they make the connection to a 
remote host).  They are using the netconn_new, netconn_connect, 
netconn_recv, netconn_write, etc. functions. These functions are always 
called only at the application level (i.e. never from an interrupt).

I assumed that this would be a safe environment; i.e. that none of the 
netconn functions would suspend (waiting for mbox or sem) when it was 
unsafe for a different task to call one of these functions, but I 
suspect I may be wrong here?

As I said above, this works perfectly when, for example, I just have one 
or two listening sockets, but when I try to mix listening and initiating 
sockets, the whole thing comes crashing down.

Any advice will be appreciated!




------------------------------

Message: 6
Date: Thu, 21 May 2009 10:14:16 -0400
From: "Bill Auerbach" <address@hidden>
Subject: RE: [lwip-users] Run Application?
To: "'Mailing list for lwIP users'" <address@hidden>
Message-ID: <address@hidden>
Content-Type: text/plain;       charset="us-ascii"

>I can't tell you on linux, but on windows, open
>contrib/ports/win32/msvc6/test.dsw or ../msvc8/lwIP_Test.sln and run it
>(after adding the missing config file lwipcfg_msvc.h from _example).
>That brings you a running lwIP system where you can enable the
>httpserver_raw app.

What is the folder hierarchy requirement for the Win32 example?  When
checking out from CVS to a folder, the MSVC6 sln doesn't build as-is.  Maybe
the question is, where does the $(lwip) definition get set as I suspect this
is the issue.

Bill






------------------------------

_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users

End of lwip-users Digest, Vol 69, Issue 22
******************************************

<<winmail.dat>>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]