Chat server: Difference between revisions

Content added Content deleted
mNo edit summary
Line 1,332:
using WebSockets
 
const connections = Dict{Int,WebSocket}()
#global Dict to store open connections in
globalconst usernames connections = Dict{Int,WebSocketString}()
global usernames = Dict{Int,String}()
 
function decodeMessage( msg )