/sml-net-server-ev

asynchronous Standard ML server engine

Primary LanguageStandard ML

net-server-ev - asynchronous Standard ML server engine

Features:

  * Runs on MLton and Poly/ML
  * Runs on FreeBSD (kqueue) and Linux (epoll)
  * Preforking Mode
  * Worker hook for initialization and cleanup worker
  * Connect hook for initialization and cleanup after open socket
  * TERM signal to stop
  * QUIT signal to stop gracefully
  * Reuseport support

Replace kqueue on epoll in t.ml* files to run on Linux.


See also:

https://github.com/kni/sml-net-server     - Standard ML server engine
https://github.com/kni/sml-net-server-ev  - asynchronous Standard ML server engine
https://github.com/kni/sml-http-server    - Standard ML http server
https://github.com/kni/sml-http-server-ev - asynchronous Standard ML http server

https://github.com/kni/sml-ev - kqueue (*BSD) and epoll (Linux) library for Standard ML