[][src]Module namaste::server

Server

A client connecting to Namaste server is expected to send:

  • A command.
  • Data belonged to the command.

Currently, supported commands are: CMD_BOOK, CMD_CHECK_OUT.

Server is expected to send back one-byte result. A zero (0) means false, others mean true.

Constants

CMD_BOOK

Command to book a seat

CMD_CHECK_OUT

Command to check out

DEFAULT_PORT

Default port