multiple clients - single server application,
each as separate processes
Selçuk Cihan
selcukcihan at gmail.com
Sat Feb 23 04:11:04 PST 2008
On Fri, Feb 22, 2008 at 12:29 PM, Lukasz Michalski <lm at zork.pl> wrote:
> I never tried to use wxSocketBase this way. I advise to look into
> sources and check if Read or Write in wxSOCKET_WAITALL mode are safe to
> be used from different therads.
>
Thanks again for the answers.
I have another question in mind, i have tried to catch
wxSOCKET_CONNECTION event both on the server and the client
application. And it did not work. Should it work? Or is it the case
that both server and client are waiting for the connection to be
established, and since server is not accepting and client is not
connecting wxSOCKET_CONNECTION event never happens?
After playing around for about a week, lastly i have switched to
having one listener thread for each connection and the main thread.
Yet, still i have not solved certain issues.
The server-client socket sample applications are good for having an
insight but unfortunately they haven't helped me establish a basic
knowledge to build a robust client-server application.
More information about the wx-users
mailing list