<div dir="ltr"><div>ACE VERSION: 6.3.0<br><br> HOST MACHINE and OPERATING SYSTEM:<br> Centos 6.7 and Linux kernel 2.6.32-573.12.1.el6.i686</div><div><br></div><div><br> THE $ACE_ROOT/ace/config.h </div><div> #define ACE_LACKS_GETIPNODEBYADDR<br> #define ACE_LACKS_GETIPNODEBYNAME</div><div> #define ACE_HAS_AIO_CALLS<br> #include "ace/config-linux.h"<br></div><div> </div><div><br> THE $ACE_ROOT/include/makeinclude/platform_macros.GNU </div><div> include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU</div><div><br></div><div><br> CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features<br> no such file<br><br> AREA/CLASS/EXAMPLE AFFECTED: no<br><br><br> DOES THE PROBLEM AFFECT:<br> COMPILATION? no<br> LINKING? no<br> On Unix systems, did you run make realclean first? Yes, I did.</div><div><br><br> SYNOPSIS:<br> Using ACE Proactor AIO framework on network sockets to exchange messages between two or more endpoints on linux OS. It looked the message read or write blocked or in order.</div><div><br> DESCRIPTION:</div><div> I am porting an application into Linux which utilizes ACE proactor AIO framework for a network communication ( read/ write socket ). It works fine on Windows OS. However, on Linux, The application looked like exchange messages in order, for example, When I tried to send a message to the peer, I found that ACE_POSIX_AIOCB_Proactor did invoke aio_write() but the message did not get sent out util the peer sent a message out, and then got that previous message in. More worse, most time, when the connector estalished a connection and tried to send the first message, the system got locked up because a read operation probably be put before write operation for listening any incoming messages.</div><div><br></div><div> I searched the issue and found the similar issue report in the link but it was several years age: <a href="https://stevehuston.wordpress.com/2008/11/25/when-is-it-ok-to-use-ace-proactor-on-linux/" target="_blank">https://stevehuston.wordpress.com/2008/11/25/when-is-it-ok-to-use-ace-proactor-on-linux/</a></div><div> </div><div>Is it still the limitation on Linux? Is there any way to get the ACE Proactor AIO work for network communication ( exchange message via socket with full duplex) now? Any help would be greatly appreciated</div><div> </div><div><br>Thanks!</div></div><div id="DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #aaabb6">
<tr>
<td style="width:470px;padding-top:20px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">This email has been sent from a virus-free computer protected by Avast. <br><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>
</td>
</tr>
</table><a href="#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>