[Mono-list] Re:

Gaurav Vaish gaurav.vaish@amsoft.net
Mon, 9 Sep 2002 09:49:28 +0530


> take a look at /usr/include/aio.h in your linux/bsd/* distribution, it
> should give you the basic ideas -- if you are planning on implementing
> this (which I don't know, I'm quite new here, perhaps someone else is
> working on this?  I really just know the unix side of this :), you can
> e-mail me with any specific questions that you have...

Hmmm...
    Quite interesting. May be we can give it a try. Has anyone tried hands
with this, or have any strategies in mind regarding implementation of Async
sockets?

    btw, as the documentation reads (courtsey:
http://www.opengroup.org/onlinepubs/007904975/basedefs/aio.h.html )

    the struct aiocb has the first field "int aio_fildes" which I guess may
be replaced by the socket descriptor (SOCKET), but how far is it valid?
Since, with files, all the data is already available while in networking,
one has to really wait for data to come.

    Well, one may (at least myself) have to go through details of aio in
detail before deciding upon if it can be included for Async networking, and
if yes - how.


Happy hacking,
Gaurav
http://mastergaurav.virtualave.net/iitk
----------------------------