Initial Commit

This commit is contained in:
Michael Nolan
2022-04-02 13:59:12 -05:00
commit c144565f70
13 changed files with 864 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
namespace Tesses.WebServer.ConsoleApp
{
class MainClass
{
public static void Main(string[] args)
{
var ip=System.Net.IPAddress.Any;
StaticServer server = new StaticServer("/home/ddlovato/Videos/");
HttpServerListener s = new HttpServerListener(new System.Net.IPEndPoint(ip, 24240),server);
s.ListenAsync(System.Threading.CancellationToken.None).Wait();
}
}
}