Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Chat program based on self-developed Simple Chat protocol

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 Client
Octocat-spinner-32 Server
Octocat-spinner-32 .gitignore
Octocat-spinner-32 CommonUtils.pas
Octocat-spinner-32 README.markdown
Octocat-spinner-32 SimpleChat.groupproj
README.markdown

Chat program based on self-developed Simple Chat protocol.

Protocol description

Client -> Server direction

  • Establish a connection. $u <nickname>

  • Enter the room $j <roomname>

  • Exit the room $p <roomname>

  • Send message to the room $m <roomname> <message>

  • Send message to another client $m <nickname> <message>

  • Get the information about client $i <nickname>

Server -> Client direction

  • Notifycation about entrance to the room $n <nickname> <roomname>

  • Notifycation about leaving the room $p <nickname> <roomname>

  • List of the clients in the room $l <roomname> <nickname1> <nickname2> … <nicknameN>

  • Message delivery $m <to_roomname> <from_nickname> <message> $m <from_nickname> <message>

  • Error $e <errorcode> <errorstring>

  • Sending information about the client $i <nickname> <age> [<email>]

Something went wrong with that request. Please try again.