Thread: communication between C and Dot Net Channel

  1. #1
    Registered User
    Join Date
    Mar 2011
    Posts
    3

    communication between C and Dot Net Channel

    Hi,

    I have two different application, one is in Linux gateway (written entirely in ANSI C and Linux) and other is dot net server application.I wanted to implement a communication channel (code in Linux and C) or some mechanism, which will help these different services to share objects/data.

    Is it possible to communicate between two distinct OS environment using C and Linux remoting?

    If so, what could be the fine tuned way to achieve the same? What are the other possible thoughts to implement the same apart from remoting and web service?

    Any thoughts / link/ sample application will be appreciated.

    Regards

    Raj

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Yes, you use a socket()

    It's the same kind of idea that allows you to write a web browser in any language and on any operating system, to talk to a webserver anywhere else in the world, written in any language and running on any operating system.

    At the Linux/C end, start with Beej's Guide to Network Programming
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed