[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] fd_sets building
From: |
Vincent Bruyere |
Subject: |
Re: [lwip-users] fd_sets building |
Date: |
Wed, 5 Oct 2005 10:21:31 +0200 (CEST) |
ok Atte, thanks for your answer.
But as far as I know, the 'select' use is usefull on
the server side to avoid creating one process per
socket.
Is the 'select' routine necessary on the client side ?
Vincent
--- Atte Kojo <address@hidden> a écrit :
> On Tuesday 04 October 2005 19:39, Vincent Bruyere
> wrote:
> > Good evening,
> >
> > I am working on an embedded MMS project with modem
> and
> > PPP support.
> > I am using lwip1.1.0 stack.
> > I have several problems when receiving files
> bigger
> > than 3 KBytes.
> > The socket is often blocking to get data so i
> wonder
> > if the socket select management is right.
> >
> > Does anybody know how to manage fd_sets building
> > before running select, for a non UNIX OS ?
> > ie is it necessary to use FD_ZERO, FD_SET,
> FD_ISSET
> > like commands on real-time OS ?
>
> lwIP sockets work just like UNIX sockets. That means
> that you should manage
> fd_sets just like you would on UNIX environment.
>
> - Atte
>
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users
>
___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com