Re: Communicate UNIX from c#
- From: "Lloyd Dupont" <ld@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 5 Oct 2005 22:45:10 +1000
> 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
> with the server C program?How do i modify my client c# application without
> changing anything in the server?
>
there is no such thing as a 'default way to write a C struct in a file'(the
socket in this case).
I advise you to check which format expect the C server and write the same
thing in C#.
BTW web services are just for that.
every time you want to call a new method or pass a new parameter, you've got
plenty of tedious coding to write.
Web service are real easy to write in C#.
In C it would still be a tedious task but, at least, you will find plenty of
library which makes it 'relatively easy' as far as C program are
concerned...
.
- Follow-Ups:
- Re: Communicate UNIX from c#
- From: Bala Nagarajan
- Re: Communicate UNIX from c#
- References:
- Re: Communicate UNIX from c#
- From: Bala Nagarajan
- Re: Communicate UNIX from c#
- Prev by Date: Re: Non-rectangular Forms
- Next by Date: Re: Printing on a Zebra Z4M barcode printer.
- Previous by thread: Re: Communicate UNIX from c#
- Next by thread: Re: Communicate UNIX from c#
- Index(es):
Relevant Pages
|