Thanks a lot. Sockets just work fine.
Another question. My server program in the Unix box accepts only a C struct
type. How do i pass a struct from C# client application that is compatible
"Bob Powell [MVP]" <bob@_spamkiller_bobpowell.net> wrote in message
news:OVpMjzdxFHA.2652@TK2MSFTNGP14.phx.gbl...
> Sockets? Write a simple server for the unix box and hit it with a socket
> connection.
>
> --
> Bob Powell [MVP]
> Visual C#, System.Drawing
>
> Ramuseco Limited .NET consulting
>
http://www.ramuseco.com >
> Find great Windows Forms articles in Windows Forms Tips and Tricks
>
http://www.bobpowell.net/tipstricks.htm >
> Answer those GDI+ questions with the GDI+ FAQ
>
http://www.bobpowell.net/faqmain.htm >
> All new articles provide code in C# and VB.NET.
> Subscribe to the RSS feeds provided and never miss a new article.
>
>
>
>
>
> "Bala Nagarajan" <baladotnet@newsgroups.nospam> wrote in message
> news:ODx3SMdxFHA.612@TK2MSFTNGP10.phx.gbl...
>> Thanks everyone for your response. Actually i will not be able to
>> implement a web service in the UNIX box due to some constraints. Leaving
>> the Web service do i have any other option?
>>
>> Thanks a lot for your help.
>>
>>
>> -Bala
>>
>>
>> "Lloyd Dupont" <ld@NewsAccount.galador.net> wrote in message
>> news:%23LClFWVxFHA.2228@TK2MSFTNGP11.phx.gbl...
>>> That's a 2 step problem.
>>> 1st your unix program work in 'server mode', that is be able to listen
>>> to incoming connection and answer them somehow.
>>> 2nd your client should talk to this server.
>>>
>>> Now if you maintain both product and that the C program has no server
>>> mode, you should develop one.
>>> As Bob suggested develop it as a WebServicde server sounds like an
>>> appropriate idea.
>>>
>>> --
>>> If you're in a war, instead of throwing a hand grenade at the enemy,
>>> throw one of those small pumpkins. Maybe it'll make everyone think how
>>> stupid war is, and while they are thinking, you can throw a real grenade
>>> at them.
>>> Jack Handey.
>>> "Bala Nagarajan" <baladotnet@newsgroups.nospam> wrote in message
>>> news:eTbJztUxFHA.2132@TK2MSFTNGP15.phx.gbl...
>>>> Hi,
>>>>
>>>> How do i communicate between C# and Unix? The scenario is as follows.
>>>>
>>>> I have a C program residing in UNIX box that does complex calculations
>>>> and
>>>> returns a result. I need to invoke this C program residing in the Unix
>>>> box from Windows Client C# application through a button click event.
>>>> How do i
>>>> manage to call a C program residing in Unix box from C# and get the
>>>> result back?
>>>>
>>>> It would be really helpful if you expalin me a way to acheive this.
>>>>
>>>>
>>>> Thanks
>>>>
>>>> -Bala
>>>>
>>>>
>>>
>>>
>>
>>
>
>