Skip to content

Latest commit

 

History

History
 
 

tcp_echo_server

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Echo Server in Odin

An Echo Server is a simple network server that sends back to the client whatever data it receives. It is often used as a basic example to test networking functionality.

Requirements

  • Odin Compiler (latest stable version).
  • A terminal or command prompt to run the application.

Installation and Usage

  1. Run the server:
    odin run server
  2. Run one or more clients:
    odin run client
  3. Or use telnet:
    telnet 127.0.0.1 8080

To terminate the client send Ctrl-D or Ctrl-C or an empty line pressing Enter (\r\n, \n).