lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] [lwip] select function


From: David Haas
Subject: [lwip-users] [lwip] select function
Date: Thu, 09 Jan 2003 00:32:24 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0078_01C2A2D1.1B7963C0
Content-Type: text/plain;
        charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

I need select() in the sockets library. I have read the archive about it =
and several other people seem to want it as well. I know there is a =
paulOS file which might support it, but I glanced at it quickly and I =
decided that it was too unportable and it uses a GPL instead of =
BSD-style license.

I am currently working on it and I will send the appropriate files =
around when I am done (sometime next week). The way I am implementing =
it, I need to change the api files, but I am making sure that you can =
still compile and use them without sockets.c if you want to. There was a =
suggestion some time back that select() be implemented by adding =
sys_mbox_peek(). I think this is somewhat impractical and I am not doing =
that. Instead I use an event counter in the netconn structure (although =
I might just put the counter in the sockets structure instead). By the =
way, I am not adding any additional IPC constructions. I will only be =
using semaphores.

For write, I have to see how to set an event (or actually call a =
function) when the tcp_sndbuf drains enough. I hope I don't need to make =
any changes to tcp here.

I am not planning on handling exception conditions on a socket. I don't =
think we even handle out-of-band, do we?

I don't think this will take me at all long assuming I remember on =
Monday what I was doing today!


David Haas
NBS Card Technology
70 Eisenhower Drive,
Paramus, NJ 07652
Voice: 201-845-7373 x183
Fax: 201-845-3337
email: address@hidden

------=_NextPart_000_0078_01C2A2D1.1B7963C0
Content-Type: text/html;
        charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1126" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>I need select() in the sockets library. I have read =
the=20
archive about it and several other people seem to want it as well. I =
know there=20
is a paulOS file which might support it, but I glanced at it quickly and =
I=20
decided that it was too unportable and it uses a GPL instead of =
BSD-style=20
license.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I am currently working on it and I will send the =
appropriate=20
files around when I am done (sometime next week). The way I am =
implementing it,=20
I need to change the api files, but I am making sure that you can still =
compile=20
and use them without sockets.c if you want to. There was a suggestion =
some time=20
back that select() be implemented by adding sys_mbox_peek(). I think =
this is=20
somewhat impractical and I am not doing that. Instead I use an event =
counter in=20
the netconn structure (although I might just put the counter in the =
sockets=20
structure instead). By the way, I am not adding any additional IPC=20
constructions. I will only be using semaphores.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>For write, I have to see how to set an event (or =
actually call=20
a function) when the tcp_sndbuf drains enough. I hope I don't need to =
make any=20
changes to tcp here.</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I am not planning on handling exception conditions =
on a=20
socket. I don't think we even handle out-of-band, do we?</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>I don't think this will take me at all long assuming =
I=20
remember on Monday what I was doing today!</FONT></DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>David Haas<BR>NBS Card Technology<BR>70 Eisenhower=20
Drive,<BR>Paramus, NJ 07652<BR>Voice: 201-845-7373 x183<BR>Fax:=20
201-845-3337<BR>email: <A=20
href=3D"mailto:address@hidden";>address@hidden</A><BR></FONT></DIV><=
/BODY></HTML>

------=_NextPart_000_0078_01C2A2D1.1B7963C0--

[This message was sent through the lwip discussion list.]




reply via email to

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