An open API service indexing awesome lists of open source software.

https://github.com/flexoid/simple-chat

Chat program based on self-developed Simple Chat protocol
https://github.com/flexoid/simple-chat

Last synced: 5 months ago
JSON representation

Chat program based on self-developed Simple Chat protocol

Awesome Lists containing this project

README

          

## Chat program based on self-developed Simple Chat protocol.

## Protocol description

### Client -> Server direction
* Establish a connection.
`$u `

* Enter the room
`$j `

* Exit the room
`$p `

* Send message to the room
`$m `

* Send message to another client
`$m `

* Get the information about client
`$i `

### Server -> Client direction

* Notifycation about entrance to the room
`$n `

* Notifycation about leaving the room
`$p `

* List of the clients in the room
`$l … `

* Message delivery
`$m `
`$m `

* Error
`$e `

* Sending information about the client
`$i []`