[trac499] Change where client's asynchronous send is waited for
Previously the client sent a message asynchronously to the server and the server synchronously received it. Then the code waited for the client send to complete. However, this hangs under Solaris. So now the wait occurs after the asynchronous send but before the synchronous receive, which Solaris can apparently cope with.
Showing with 4 additions and 3 deletions