aio_connect ?

Garrett Wollman wollman at khavrinen.lcs.mit.edu
Mon Oct 18 14:38:59 PDT 2004


<<On Sun, 17 Oct 2004 13:19:45 -0700, "Ronald F. Guilmette" <rfg at monkeys.com> said:

> I'm sitting here looking at that man pages for aio_read and aio_write,
> and the question occurs to me:  ``Home come there is no such thing as
> an aio_connect function?''

Mostly because there is no need, since connect() doesn't transfer any
data; it just establishes a connection.  If the socket is put in
non-blocking mode, connect() will take place in the background.

-GAWollman



More information about the freebsd-net mailing list