/sockets-test

TCP and UDP echo server in Common Lisp

Primary LanguageCommon Lisp

TCP and UDP echo server in Common Lisp

This is a simple TCP and UDP echo server, inspired by this, this, this, this TCP server, and this UDP server.

Install

  1. Install ASDF and install this project into your ASDF system, then load: (asdf:load-system :sockets-test)

Usage

Start the TCP server

(sockets-test:tcp)

Kill the TCP server

(sockets-test:kill-tcp)

Start the UDP server

(sockets-test:udp)

Kill the UDP server

(sockets-test:kill-udp)

Connect to TCP server:

$ telnet 0.0.0.0 8882

Connect to UDP server:

$ nc -u localhost 8882