[Ace-users] Subject: Proactor: Linux proactor always returns errno 14 (Bad Address) with UDP socket

FCJ fernando.fcavalcanti at gmail.com
Thu Feb 21 14:58:50 CST 2008

I have been doing some tests, and this seems to be an issue within the
POSIX_Proactor and POSIX_Asynch_IO handling.

I changed the test code to use aio_read and aio_return on top of
ACE_SOCK_Dgram_Mcast peer_.get_handle(), meaning I skipped the whole
ACE_Asynch_Read_Dgram class and used my own aio_ calls.

It worked perfectly. So that seems to indicate that the problem is
with ACE_Asynch_Read_Dgram with POSIX implementation in ACE. However,
I am very new to ACE and the code seems quite complex to follow... I
am not sure why it doesn't work or why it states that the address is

Also, it seems that remote_address_ is never set at all, therefore I
always get the peer address as "" from the
ACE_POSIX_Asynch_Read_Dgram_Result class.

Is there anyone that knows more about the ACE Asynch POSIX
implementations that could help me figure out what is wrong?

More information about the Ace-users mailing list