[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] fd_sets building
From: |
Atte Kojo |
Subject: |
Re: [lwip-users] fd_sets building |
Date: |
Wed, 5 Oct 2005 09:01:41 +0300 |
User-agent: |
KMail/1.8.2 |
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