01-02-2017, 01:24 PM
chat server
The server must support multiple connected users. Messages sent to the server are transmitted to all currently connected users. For this tutorial we will use Network.Socket, which provides low-level links to the socket C API.
Ultimately, our full file will depend on an executable section that might resemble the following:
Executable chat-server-exe
Hs-source-dirs: app
Main-es: Main.hs
Ghc-options: -threaded -rtsopts -with-rtsopts = -N
Build-depends: base, network
Default language: Haskell2010
To get accurate data please visit :
http://socket.io/get-started/chat/
The server must support multiple connected users. Messages sent to the server are transmitted to all currently connected users. For this tutorial we will use Network.Socket, which provides low-level links to the socket C API.
Ultimately, our full file will depend on an executable section that might resemble the following:
Executable chat-server-exe
Hs-source-dirs: app
Main-es: Main.hs
Ghc-options: -threaded -rtsopts -with-rtsopts = -N
Build-depends: base, network
Default language: Haskell2010
To get accurate data please visit :
http://socket.io/get-started/chat/