New topic: 

TCPSocket disconnects after sending

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

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        pssrb          Post subject: TCPSocket disconnects after 
sendingPosted: Mon Jun 21, 2010 12:44 pm                         
Joined: Sat Aug 30, 2008 2:20 pm
Posts: 50
Location: Barcelona, Spain                Reading in the TCPSocket help 
reference I see:

Quote:The TCPSocket handles the disconnection process more gracefully. It tries 
to do an orderly disconnect when possible
My problem is related to this, because when I send a message using 
TCPSocket.Write, immediately after, it disconnects (Error 102 in 
TCPSocket.Error), so, if the receiving part needs to process and then send a 
response, it cannot because the communication channel is closed.

I tried with two TCPSockets, one listening and the other sending, but I my 
modest opinion, when the sending socket sends something, the response must come 
in the same sending channel, not in the other TCPSocket.

How can I handle or adjust the disconnection of the sending TCPSocket.   
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to