Ricardo Bernardini wrote:
> 
> Well !! That's far more than the things I'm having trouble with!! I'm not
> being able to make ONE asynchronous read. I've tried the aio functions with
> file I/O and it worked fine, I've also tried the socket I/O with read() and
> it worked fine too. But when I issue the read to the async queue an try to
> get its status aio_error returns -1 and sets errno to EINVAL.
> Anyway this is a test program just to become familiar with the fucntions
> before actually using them, so I really need more information about them,
> and the aiocb_t struct.

Be aware that aio is not implemented for all things that you can get
an fd for. It was originally implemented *only* for files, though I
was under the impression that support for sockets was later added.

--
Daniel C. Sobral                        (8-DCS)
[EMAIL PROTECTED]
[EMAIL PROTECTED]

        What y'all wanna do?
        Wanna be hackers? Code crackers? Slackers
        Wastin' time with all the chatroom yakkers?


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to