Actually, thats the best thing for me to do... I'll nail that up. On Thu, Dec 4, 2008 at 10:41 AM, Eamonn Faherty <[EMAIL PROTECTED]>wrote:
> I don't think that is possible but even if it is, it doesn't sound that > graceful. Why not have a single SocketProxy or SocketWrapper class with a > single socket connection. You can pass that as a reference to two or more > classes. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] On Behalf Of Eric E. Dolecki > Sent: 04 December 2008 15:24 > To: Flash Coders List > Subject: [Flashcoders] Different class instances with socket using same > portnumber? > > Wondering if it's possible to have different classes open sockets to the > same port number? Going to throw stuff in an if/else and depending on a > variable, send to the socket with different values. They all currently open > to the same port number. > ie. inside each of the class constructors being used: > > _socket = new Socket( "localhost", 5751 ); > > -- > http://ericd.net > Interactive design and development > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- http://ericd.net Interactive design and development _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

