BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Sockets

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Cem
Guest





PostPosted: Sat Sep 27, 2003 4:48 am    Post subject: Sockets Reply with quote



I have a problem with sockets. When I try to send a message from server to
client, there is no problem. When I try to send messages without any delay
between messages, clint reads messages as if they are connected. How can I
solve this problem ? Thanks...


-----------------------------------------------------
This message was posted using http://www.gdse.com/
Back to top
Martin James
Guest





PostPosted: Sun Sep 28, 2003 10:47 am    Post subject: Re: Sockets Reply with quote




"Cem" <cdilbaz1 (AT) hotmail (DOT) com> wrote

Quote:
I have a problem with sockets. When I try to send a message from server to
client, there is no problem. When I try to send messages without any delay
between messages, clint reads messages as if they are connected. How can I
solve this problem ? Thanks...


You are using TCP? This protocol is a streaming service. It transfers
octet/byte streams & knows nothing about datagrams. If you send two
128-byte messages, they could be received as one 256-byte chunk or 256
one-byte chunks. Your protocol must be able to handle both these
possibilities if your comms it to be reliable.

Rgds,
Martin



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.