A small tcp server working under Mono or .NET (4.0) and provides hooks for handling data exchange with clients (works under mono and .net). Behaviour/protocol/reaction could be specified via custom C# script.
I wrote complicated scripts depending on other assemblies and got compilation errors (possibly due to compiler was unable to load referenced assemblies), so we should properly adjust compiler (via one more parameter to FlexlibleTcpServer).
I think parallel to NetworkClient class that works with pure sockets we should add option to run server with TcpClient, and this would be the way to TinyTcpClient project.
However, I was not able to solve all the problems with multiclient parallel working without any protocol on raw data. Maybe it is impossible to do it without some tricks: protocls, resending e.t.c. Hoever we should think if we could speed up our server (v.1.2) and we shoul measure it.
There is a idea to make server awailable to work with any protocols, over TinyTcpServer itself (as transport layer). Possibly script engine will be Roslyn