M
Max
Hi all ,
I have write a socket that send 50Kbyte of data stream at server writed in
C++ .
I have abnormal behavior when i send data from Java => to => server .
The data arrive on the server "not" in order that i have sended it :-(
frist sending operation (total : 50KByte that I have splited in 5 operation
of 10KByte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
first sending receiver :
ok ! The server receive
pack 1,
pack 2,
pack 3,
pack 4,
pack 5,
second sendig :
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
second sending receiver :
ok ! The server receive
pack 1,
pack 2,
pack 3,
pack 4,
pack 5,
"n"-sending operation :
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
first sending receiver :
no ! The server receive
pack 2,
pack 4,
pack 5,
pack 1,
pack 3,
i not receive the "pack" in sequence : why ???
thank all
max
I have write a socket that send 50Kbyte of data stream at server writed in
C++ .
I have abnormal behavior when i send data from Java => to => server .
The data arrive on the server "not" in order that i have sended it :-(
frist sending operation (total : 50KByte that I have splited in 5 operation
of 10KByte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
first sending receiver :
ok ! The server receive
pack 1,
pack 2,
pack 3,
pack 4,
pack 5,
second sendig :
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
second sending receiver :
ok ! The server receive
pack 1,
pack 2,
pack 3,
pack 4,
pack 5,
"n"-sending operation :
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
sending (10Kbyte)
first sending receiver :
no ! The server receive
pack 2,
pack 4,
pack 5,
pack 1,
pack 3,
i not receive the "pack" in sequence : why ???
thank all
max