New topic: 

EasyTCPSocket & ServerSocket

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

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       tinrocket           Post subject: EasyTCPSocket & 
ServerSocketPosted: Mon Oct 20, 2008 1:41 pm                        
Joined: Thu Feb 16, 2006 10:18 pm
Posts: 9
Location: Brooklyn, NY              Hello,

I have a setup where I have a subclass of ServerSocket ("MyServerSocket") that 
creates subclasses of EasyTCPSocket ("MySocket"). I'm also connecting to the 
ServerSocket with another instance of MySocket.

MyServerSocket starts and creates a poll of MySocket sockets.

The client MySocket is instantiated and connects to the ServerSocket.

Both MySockets receive the Connected event, but one of the sockets -- the 
client MySocket -- has a different port than it should. The client MySocket can 
send a message back to the server-side MySocket, but I can't send messages from 
the server-side MySocket to the client MySocket, presumably, because the ports 
are different.

Is this a limitation of connecting to sockets within the same application?     
_________________
John Balestrieri 
Tinrocket, LLC 
http://www.tinrocket.com  
                            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 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