KO
|
EN
gitlite — search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
referenceserver
★ 24
Open GitHub ↗
Barebones UNIX socket servers
Download README (.md)
Explore Similar Repositories
Dapper-Demo-Web-API
:
Web API using Dapper - For article on JeremyMorgan.com
webpack-presets
:
Shareable configuration presets for Webpack (MIT)
go-secretcrypt
:
Encrypt your secrets with kms
DataX
:
DataX 是阿里巴巴集团内被广泛使用的离线数据同步工具/平台,实现包括 MySQL、Oracle、HDFS、Hive、OceanBase、HBase、OTS、ODPS 等各种异构数据源之间高效的数据同步功能。
acteve
:
Dynamic Symbolic Execution of Android Apps
// repository documentation
Was this content helpful?
★ 0
(0 ratings)
Select Rating:
★
★
★
★
★
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
referenceserver
?
Download (.md)
# Barebones UNIX socket servers I find myself writing this server in some language every few months. Each time I have to scour the web for a good reference. Use this as a reference to write your own bare server in C or other languages with a UNIX API (Python, OCaml, etc). # Run ```bash make build-c bin/cserver # go to localhost:15000 make build-ocaml bin/ocamlserver # go to localhost:15000 make build-python python2.7 bin/pythonserver # go to localhost:15000 # -- OR -- python3.5 python/server.py # go to localhost:15000 make build-sbcl bin/sbclserver # go to localhost:15000 ``` # Notes These servers are very minimal and require no external libraries. They may suffer from serious problems (reading/writing completely, blocking, single-threadedness, idiomaticness, etc). If you notice these issues, feel free to file an issue or create a PR. If a fix does not seriously impede on the simplicity of the example, the changes may be incorporated.