New topic: 

TCPSocket1 trouble!

<http://forums.realsoftware.com/viewtopic.php?t=26462>

       Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic         Author  
Message       Raed           Post subject: TCPSocket1 trouble!Posted: Sat Feb 
14, 2009 4:18 pm                        
Joined: Sun Nov 02, 2008 1:00 pm
Posts: 6              y0 , i need some helps about TCPSocket1.flush ,
Not even flush helps, so I figure I must not be terminating the line properly, 
but I can't figure it out. If I Write a second line then the first line shows 
up. (Here i get  the message as : hey how are you) ,Below is the code:.
Code:
TCPSocket1.write("hey")
TCPSocket1.flush
TCPSocket.write("how are you ")

Thanks   
                            Top                npalardy           Post subject: 
Re: TCPSocket1 trouble!Posted: Sat Feb 14, 2009 4:47 pm                        
Joined: Sat Dec 24, 2005 8:18 pm
Posts: 4426
Location: Canada, Alberta, Near Red Deer              regardless of how you do 
things the TCP/IP protocol tends to "bunch" things together to optimize network 
performance
it's inherent with how tcp/ip is implemented

this is why most protocols that use tcp/ip have well defined markers of some 
kind that can be used to figure out the beginning and ending of a message (or 
packet of information) as it relates to the implementation of the protocol     
_________________
My web site Great White Software
RBLibrary.com REALbasic learning  
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to