java - Client to specific client communication through a server -


i have implemented server -client application have maintained list of clients connected server in array.what not understand how client tell server client message sent .like if server has 3 clients connected lets a,b , c.now if wants send message c how tell server it? want client send request server asking connect client c ,the server asks client c permission , if c accepts , c can send messages , forth until 1 of them disconnects

for im (instant messaging), can @ xmpp servers , clients, popular in chat application, gtalk works on them.

xmpp server : jabber server.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -