Boost C++ Libraries: Ticket #2565: posix_chat_client.cpp does not work on mac os x https://svn.boost.org/trac10/ticket/2565 <p> I am using Mac OS X 10.5 (Leopard), macbook pro and this example seems to be broken. </p> <p> when I run </p> <p> ./chat_server 12345 </p> <p> and in a different terminal on the same machine run </p> <p> ./posix_chat_client localhost 12345 </p> <p> the client exits immediately (instead of accepting input to send to the server which echos is back). </p> <p> the chat_client works fine however. Note that the source is in boost/libs/asio/examples/chat </p> <p> In similar code I get the error "Operation not supported" </p> <p> This same code works on linux (ubuntu 4.3.2) just fine. Same build flags. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2565 Trac 1.4.3 Dean Michael Berris Thu, 26 Nov 2009 20:53:13 GMT cc set https://svn.boost.org/trac10/ticket/2565#comment:1 https://svn.boost.org/trac10/ticket/2565#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">mikhailberis@…</span> added </li> </ul> <p> This is expected since Mac OS X doesn't explicitly support standard posix stream descriptors that support asynchronous IO IIUC. Does the example still compile now that the define guards have been put into the example? </p> Ticket anonymous Mon, 30 Nov 2009 16:36:03 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2565#comment:2 https://svn.boost.org/trac10/ticket/2565#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Actually the with snow leopard (mac os 10.6) my use case works now. I presume posix_chat_client.cpp will work as well. So I guess it was a mac os 10.5 issue that has been resolved. </p> Ticket chris_kohlhoff Tue, 12 Jan 2010 22:43:31 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/2565#comment:3 https://svn.boost.org/trac10/ticket/2565#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Reopening, because at some point I do want to make this work with older versions of Mac OS X. </p> Ticket chris_kohlhoff Tue, 12 Jan 2010 22:43:49 GMT milestone changed https://svn.boost.org/trac10/ticket/2565#comment:4 https://svn.boost.org/trac10/ticket/2565#comment:4 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.38.0</span> → <span class="trac-field-new">To Be Determined</span> </li> </ul> Ticket