Initial Commit
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user