Socket and Event handling

If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
Post Reply
johnnie
Experienced Solver
Experienced Solver
Posts: 64
Joined: Mon Jan 14, 2008 8:59 am
Location: Bangalore
Contact:

Socket and Event handling

Post by johnnie » Thu Aug 18, 2011 9:12 am

Hi all,

I have GUI process which acts as the tracing server and any tracing clients can connect to it. The rate at which the data is sent is 1 write message per 0.925ms from one client.
Say If Client sends 200 Write message but only 100 read events are received at that particular interval. So basically the data is lost when the client closes its connection with the server or vice versa. If i reduce the write message for 200 to 100, all the data sent by the clients are received.

Can I rely on socket streams instead of INPUT events in server. kindly give some suggestion with example.

~ Johnnie
--johnniealan --

Post Reply