Skip to content

A simple experiment in doing a TCP connection based chat server with Tornado

Notifications You must be signed in to change notification settings

mmopy/tornado-tcp-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

tornado-tcp-chat

A simple experiment in doing a TCP connection based chat server with Tornado. The server has two states:

  1. AUTH: wait for the user to enter a unique name. Once done they join CHAT.
  2. CHAT: Each line of text is sent to all other users connected to the server.

The sample also broadcasts messages when users connect to CHAT (state) and leave CHAT (state)

I wrote this simple to learn something about Python and Tornado. I based it on the echo server by phus which can be located here: http://tornadogists.org/1231481/

About

A simple experiment in doing a TCP connection based chat server with Tornado

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages