Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sockets and problems with communication

Status
Not open for further replies.

bubak

Programmer
Jun 25, 2001
208
SK
Hello. I have a simple socket communicatin (CSocket based). One socket listenews, other one connects to it. If I send messages from client to server(listener),every time on OnTimer, i send 10 chars CString.when I'm using just arhive << CString, it works fine(sending every 10ms). when I create a class for Message and I'm using serialization, it works, for 200ms and longer period between sending, but when I give smaller, it stops and the client has to reconnect.

Does anybody pls know, where can be the problem? Thx.
Bubak
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top