mattercontrol/PrinterCommunication/RemotingLite/Example/RemotingLiteExampleServer/Program.cs
larsbrubaker 2d3d26a68d Working to get the collision stuff working with mesh groups
Put in the RomotingLite project to start on TigerSong
2014-10-09 11:29:33 -07:00

24 lines
677 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using RemotingLite;
namespace RemotingLiteExampleServer
{
class Program
{
static void Main(string[] args)
{
using (ServiceHost host = new ServiceHost(typeof(ServiceImpl), 8000))
{
host.UseThreadPool = true;
host.Open();
Console.WriteLine("Host is running. Press <ENTER> to terminate.");
Console.WriteLine(String.Format("Address is {0}", host.EndPoint.Address));
Console.WriteLine("Press <ENTER> to terminate.");
Console.ReadLine();
}
}
}
}