Click here to Skip to main content
15,892,072 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bitwise operations (Masking) Pin
chandu00417-Oct-07 1:09
chandu00417-Oct-07 1:09 
GeneralRe: Bitwise operations (Masking) Pin
cydd17-Oct-07 1:46
cydd17-Oct-07 1:46 
GeneralRe: Bitwise operations (Masking) Pin
Nelek17-Oct-07 1:57
protectorNelek17-Oct-07 1:57 
GeneralRe: Bitwise operations (Masking) Pin
cydd17-Oct-07 2:05
cydd17-Oct-07 2:05 
GeneralRe: Bitwise operations (Masking) Pin
chandu00417-Oct-07 1:58
chandu00417-Oct-07 1:58 
GeneralRe: Bitwise operations (Masking) Pin
cydd17-Oct-07 2:03
cydd17-Oct-07 2:03 
GeneralRe: Bitwise operations (Masking) Pin
chandu00417-Oct-07 2:08
chandu00417-Oct-07 2:08 
QuestionSocket Send-Receive Synchronization Pin
Syamlal S Nair16-Oct-07 23:58
Syamlal S Nair16-Oct-07 23:58 
hi,

I have a server and client application, which are running on different machines and communicating each other thru sockets. Its using TCP sockets, for which i am using Win32 APIs(WSAStartup, socket, bind, send etc.). I am sending text data from client to server periodically, at a rate of 50 ms. When i run both client and server in one machine, the sending and receival are proper. But when i run them on different machines, sending and receival are not synchronized. When i display the buffer after a receival operation at the server end, it shows same data appended to itself several times. I guess this problem is bcoz the rate of sending and receival are not the same, or the network delay.

All ur suggestions are most welcome..

Thanks in advance,


SYAMLAL

AnswerRe: Socket Send-Receive Synchronization Pin
Cedric Moonen17-Oct-07 0:07
Cedric Moonen17-Oct-07 0:07 
AnswerRe: Socket Send-Receive Synchronization Pin
ThatsAlok17-Oct-07 1:40
ThatsAlok17-Oct-07 1:40 
AnswerRe: Socket Send-Receive Synchronization Pin
David Crow17-Oct-07 3:43
David Crow17-Oct-07 3:43 
AnswerRe: Socket Send-Receive Synchronization Pin
led mike17-Oct-07 4:26
led mike17-Oct-07 4:26 
QuestionPrint Preview Pin
AnayKulkarni16-Oct-07 23:53
AnayKulkarni16-Oct-07 23:53 
AnswerRe: Print Preview Pin
Nelek17-Oct-07 0:13
protectorNelek17-Oct-07 0:13 
GeneralRe: Print Preview Pin
David Crow17-Oct-07 3:40
David Crow17-Oct-07 3:40 
JokeRe: Print Preview Pin
Nelek17-Oct-07 5:30
protectorNelek17-Oct-07 5:30 
GeneralRe: Print Preview Pin
ThatsAlok17-Oct-07 20:29
ThatsAlok17-Oct-07 20:29 
QuestionRe: Print Preview Pin
David Crow17-Oct-07 3:42
David Crow17-Oct-07 3:42 
QuestionMake Main Thread sleep [modified] Pin
GauranG Shah16-Oct-07 23:47
GauranG Shah16-Oct-07 23:47 
AnswerRe: Make Main Thread sleep Pin
toxcct16-Oct-07 23:52
toxcct16-Oct-07 23:52 
GeneralRe: Make Main Thread sleep Pin
GauranG Shah17-Oct-07 0:11
GauranG Shah17-Oct-07 0:11 
GeneralRe: Make Main Thread sleep Pin
ThatsAlok17-Oct-07 1:24
ThatsAlok17-Oct-07 1:24 
AnswerRe: Make Main Thread sleep Pin
chandu00416-Oct-07 23:56
chandu00416-Oct-07 23:56 
AnswerRe: Make Main Thread sleep Pin
chandu00417-Oct-07 0:46
chandu00417-Oct-07 0:46 
GeneralRe: Make Main Thread sleep Pin
GauranG Shah17-Oct-07 1:40
GauranG Shah17-Oct-07 1:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.