21h
revised Websocket chat implementation
edited body
1d
comment Websocket chat implementation
(If you are using a standard protocol such as XMPP, the implementation will provide you with an interface that takes care of that)
1d
comment Websocket chat implementation
That's actually pretty easy: Your server app usually keeps track of your connected clients (let's say a hash table or a linked list or some kind of structure containing the set of current web socket connections), in order to broadcast messages to everybody in that table but the message source. Instead of that now you just need to send the conversation id along with the message and keep (on the server) an extra table of conversations containing pointers to the connections participating on it, so you can broadcast each message to the correct user(s).
2d
revised Websocket chat implementation
added 79 characters in body
2d
revised Websocket chat implementation
added 135 characters in body
2d
revised Websocket chat implementation
added 135 characters in body
2d
answered Websocket chat implementation
2d
revised java eclipse formatting (unnecessary white space if condition )
added 273 characters in body
2d
answered java eclipse formatting (unnecessary white space if condition )
Jul
4
comment Overriding a resource contained in a jar file
The quickest thing to do would be to open the jar (with winrar, for example) and replace the Config.xml file.
Jul
2
awarded Curious
Jun
28
accepted composer unable to resolve google/apiclient 1.0.4-beta dependency on packagist
Jun
28
revised composer unable to resolve google/apiclient 1.0.4-beta dependency on packagist
added 113 characters in body
Jun
26
answered composer unable to resolve google/apiclient 1.0.4-beta dependency on packagist
Jun
25
asked composer unable to resolve google/apiclient 1.0.4-beta dependency on packagist
Jun
25
accepted OAuth2 callback: redirect after getting an access token by authenticating a code
Jun
24
reviewed Approve suggested edit on What is being inherited by class flask.views.MethodView?
Jun
24
reviewed Approve suggested edit on How to retrieve data from MS Access and assign to repeater control in ASP.NET
Jun
24
reviewed Approve suggested edit on Documenting query parameters with API Blueprint
Jun
24
reviewed Approve suggested edit on Access to datagrid values from another form
1 2 3 4 5