capitalthree
08/20/2021, 3:00 AMsimon.vergauwen
08/20/2021, 6:16 AMsimon.vergauwen
08/20/2021, 6:17 AMBig Chungus
08/20/2021, 8:36 AMBig Chungus
08/20/2021, 8:38 AMBig Chungus
08/20/2021, 8:38 AMcapitalthree
08/20/2021, 10:58 AMsaket
08/20/2021, 1:58 PMcapitalthree
08/20/2021, 6:32 PMBig Chungus
08/20/2021, 6:33 PMBig Chungus
08/20/2021, 6:33 PMBig Chungus
08/20/2021, 6:34 PMcapitalthree
08/20/2021, 6:40 PMBig Chungus
08/20/2021, 6:41 PMDidier Villevalois
08/21/2021, 12:32 AMktor-network
that offers raw TCP socket support with selection. See this Simple Echo Server. You just have to replace <http://Dispatchers.IO|Dispatchers.IO>
by coroutineContext
. So it will be single-threaded for now, until we have the new memory model and multithreaded coroutines. However, I guess coroutines on a single thread should be enough for a simple server.
I tested it on linux and it works perfectly. (If you have a windows box, I'd be glad to know whether it works there too.) Based, on that it should not be too hard to implement a simple and naive HTTP implementation.Didier Villevalois
08/21/2021, 12:34 AMktor-io
, if you want to do some funky binary IO.Didier Villevalois
08/21/2021, 12:36 AMktor-network
also offers TLS...capitalthree
09/08/2021, 12:29 AM