[Ace-users] [ace-users] Subject: Proactor: Linux proactor always returns errno 14 (Bad Address) with UDP socket
alexander.libman at earthlink.net
Fri Feb 22 10:54:48 CST 2008
In addition to my previous message:
actually using aio_read instead of recvmsg can work, but you will lose the address where the message came from.
To substitute sendmsg with aio_write UDP socket should be in "connected" mode, as connect for UDP just specifies default address to send messages.
>From: alexander libman <alexander.libman at earthlink.net>
>Sent: Feb 22, 2008 10:42 AM
>To: "Douglas C. Schmidt" <schmidt at dre.vanderbilt.edu>, fernando.fcavalcanti at gmail.com, ace-users at cse.wustl.edu
>Subject: Re: [ace-users] Subject: Proactor: Linux proactor always returns errno 14 (Bad Address) with UDP socket
>ACE_Proactor does not support UDP for POSIX as there are no POSIX API calls such
>imaginable aio_recvmsg and aio_sendmsg.
>read -> aio_read
>write -> aio_write
>recvmsg -> ???
>sendmsg -> ???
>>From: "Douglas C. Schmidt" <schmidt at dre.vanderbilt.edu>
>>Sent: Feb 21, 2008 8:58 PM
>>To: fernando.fcavalcanti at gmail.com, ace-users at cse.wustl.edu
>>Subject: Re: [ace-users] Subject: Proactor: Linux proactor always returns errno 14 (Bad Address) with UDP socket
>>>ACE_POSIX_Asynch_Read_Dgram_Result::complete (...) and
>>>ACE_POSIX_Asynch_Write_Dgram_Result::complete (...) also needed to be
>>>updated so as to move the pointers in the message block when we read/
>>>send bytes asynchronously.
>>>I will continue posting here all changes I make locally... I have no
>>>clue how to update the actual ACE distribution code or what is the
>>>process on submitting bug fixes.
>>for information on how to submit fixes. The ACE_POSIX_Asynch stuff is
>>old and not widely tested - largely because async I/O on POSIX
>>OS platforms hasn't been very stable historically. If you can help
>>improve this stuff it would be great. If you have any question about
>>the process after reading that webpage please let us know.
>>Dr. Douglas C. Schmidt Professor and Associate Chair
>>Electrical Engineering and Computer Science TEL: (615) 343-8197
>>Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
>>Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
>>ace-users mailing list
>>ace-users at mail.cse.wustl.edu
>ace-users mailing list
>ace-users at mail.cse.wustl.edu
More information about the Ace-users