//Serever//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Http;
using dll1;
namespace rpcservers
{
class Program
{
static void Main(string[] args)
{
HttpServerChannel hts = new HttpServerChannel(5000);
ChannelServices.RegisterChannel(hts);
RemotingConfiguration.RegisterWellKnownServiceType(typeof(Class1), "test", WellKnownObjectMode.SingleCall );
Console.Read();
}
}
}
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment