|
-
Oct 5th, 2002, 05:05 PM
#1
Thread Starter
Fanatic Member
Winsock
Hello,
I have one winsock client connected to a server, and the client sends two datas, data1 and data2.
Can data2 arrive to the server before data1???
-
Oct 5th, 2002, 05:24 PM
#2
Member
-
Oct 6th, 2002, 05:24 AM
#3
Thread Starter
Fanatic Member
A Winsock server listening on a port.
-
Oct 6th, 2002, 08:40 AM
#4
PowerPoster
It's a very rare occurence and it will happen on a very large and busy network (in Internet its possible).
-
Oct 7th, 2002, 11:30 AM
#5
Thread Starter
Fanatic Member
The server will be used as an IM server, it should be able to handle many users...
-
Oct 7th, 2002, 11:32 AM
#6
<?="Moderator"?>
im not sure if it will arrive ahead of another packet but, could you send a message back telling the client/server that it has arrived? or will that take up to much bandwidth or something like that?
-
Oct 7th, 2002, 12:55 PM
#7
PowerPoster
Originally posted by petrus
The server will be used as an IM server, it should be able to handle many users...
Doesnot depend only on the server. The network structure and bandwidth available also affect this phenomenon. What happens is that data broken down into packets are sent from the client to the server. If there are multipe possible routes between server and client, each packet may travel a different way, generally passing through the lowest load factor route. This might jumble up your data, but again this should be a very rare occurences, that too limited to only small piece of data mostly.
-
Oct 7th, 2002, 12:57 PM
#8
Frenzied Member
Well..
just a question...Does it matter which arrives first??
:::`DISCLAIMER`:::
Do NOT take anything i have posted to be truthful in any way, shape or form.
Thank You!
--------------------------------
"Never heard about "hiking" poles. I usualy just grab a stick from the nature, and use that as a pole." - NoteMe
"Finaly I can look as gay as I want..." - NoteMe
Languages: VB6, BASIC, Java, C#. C++
-
Oct 7th, 2002, 08:46 PM
#9
Black Cat
TCP/IP should ensure your app gets the data in the right order, regardless of how they go thru the network. I don't think its something you need to worry about on the Winsock OCX level.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Oct 10th, 2002, 09:59 AM
#10
KING BODWAD XXI
You Could Always Send Data One And The Send Data Two When You Get The sendcomplete event Back
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|