Re: [xSocket-develop] Question send data to all connect clients
Status: Inactive
Brought to you by:
grro
|
From: Gregor R. <gre...@go...> - 2009-01-19 06:56:03
|
Hi Kirk, by calling the server's getOpenConnections() you will get all the server-side connections. Please note, that this method is not defined by the IServer interface. For an example see http://xsocket.svn.sourceforge.net/viewvc/xsocket/xsocket/core/trunk/src/test/java/org/xsocket/connection/NotifyAllClientsTest.java?view=markup Gregor 2009/1/18 Kirk Chang <ki...@pc...> > Hi, > > How do I send a String("Hello all") to all clients connected ? > > I am using INonBlockingConnection to connect to clients. > > > Thanks, > Kirk > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > xSocket-develop mailing list > xSo...@li... > https://lists.sourceforge.net/lists/listinfo/xsocket-develop > > |