Ipc Communication RRS feed

  • Question


    I have a IPC server which is actually a Windows Service which listens from clients using IpcServerChannel.

    and i want to listen to this server by a windows application using IpcClientChannel.

    I have created this services and it works fine when test using Consol Application. But when i deployed this loginc as a Windows Service It wont shows any IpcServerChannel.


    Server Channel



    channel = new IpcServerChannel("ServerChannel");

    //Register the server channel.

    ChannelServices.RegisterChannel(channel, true);

    //Register this service type.



    "ServerMethods", WellKnownObjectMode.Singleton);



    Client Channel


    channel = new IpcClientChannel();

    ChannelServices.RegisterChannel(channel, true);


    //Register the client type.


    typeof(ServerMethods), "ipc://ServerChannel/ServerMethods");


    Any Suggestions?

    Saturday, January 12, 2008 12:14 PM