S
Saradhi
Hi Group,
This seems a peculiar problem.
I am wrirng this code for creating a Remote Server
Here I am not able to access the namespace.
System.Runtime.Remoting.Channels.Tcp
Wts wrong with this one??
Does MS have removed this namespace? and if yes, whats the actual namespace I should use?
using System.Runtime.Remoting.Channels.Tcp;
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;
namespace RemotingSamples {
public class HelloServer : MarshalByRefObject {
public HelloServer() {
Console.WriteLine("HelloServer activated");
}
public String HelloMethod(String name) {
Console.WriteLine("Hello.HelloMethod : {0}", name);
return "Hi there " + name;
}
}
}
This seems a peculiar problem.
I am wrirng this code for creating a Remote Server
Here I am not able to access the namespace.
System.Runtime.Remoting.Channels.Tcp
Wts wrong with this one??
Does MS have removed this namespace? and if yes, whats the actual namespace I should use?
using System.Runtime.Remoting.Channels.Tcp;
using System;
using System.Runtime.Remoting;
using System.Runtime.Remoting.Channels;
using System.Runtime.Remoting.Channels.Tcp;
namespace RemotingSamples {
public class HelloServer : MarshalByRefObject {
public HelloServer() {
Console.WriteLine("HelloServer activated");
}
public String HelloMethod(String name) {
Console.WriteLine("Hello.HelloMethod : {0}", name);
return "Hi there " + name;
}
}
}