Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.unix.programmer > #640
| From | Rainer Weikusat <rweikusat@mssgmbh.com> |
|---|---|
| Newsgroups | comp.unix.programmer |
| Subject | Re: Linux to windows IPC |
| Date | 2011-05-22 21:26 +0100 |
| Message-ID | <87hb8ma3ds.fsf@sapphire.mobileactivedefense.com> (permalink) |
| References | <4dd61697$0$9003$c3e8da3$9b4ff22a@news.astraweb.com> <evuia8-5h1.ln1@wilbur.25thandClement.com> <4dd77701$0$10756$c3e8da3$f017e9df@news.astraweb.com> |
Matt Charles <mcharles48@gmail.com> writes: > I have an existing Red Hat Linux C function (complex business logic > that contains some database access), it takes some strings as input > parameters and returns a string result. This function is currently > in a batch program and works fine. > > However I now also want to call this function somehow from a new > Windows .NET GUI application. The user will press a button, get an > hour glass and wait for the response to come back (this is what I > mean by synchronous). However there may be multiple users on > different PC pressing the button at the same time, so the solution > will have to cope with that. > > So I'm going to need to repackage my C code in some way to make this happen. > > One possible solution: Package the batch program up as a CGI > executable and call it from Apache. [...] > I'm sure this will work but the approach seems a little "dated". > > Are there any "better" solutions that anybody can think of. Provided you don't need authentication, a much simpler and even more 'dated' alternative exists: Create something which reads the input parameters from its standard input and writes the result to its standard output and make this accessible on some TCP port via inetd.
Back to comp.unix.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Linux to windows IPC Matt Charles <mcharles48@gmail.com> - 2011-05-20 08:21 +0100
Re: Linux to windows IPC Mark <i@dontgetlotsofspamanymore.invalid> - 2011-05-20 10:38 +0100
Re: Linux to windows IPC Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-05-20 15:00 +0100
Re: Linux to windows IPC William Ahern <william@wilbur.25thandClement.com> - 2011-05-20 13:19 -0700
Re: Linux to windows IPC Matt Charles <mcharles48@gmail.com> - 2011-05-21 09:25 +0100
Re: Linux to windows IPC Ian Collins <ian-news@hotmail.com> - 2011-05-21 20:34 +1200
Re: Linux to windows IPC Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-05-22 21:26 +0100
Re: Linux to windows IPC Matt Charles <mcharles48@gmail.com> - 2011-05-23 12:19 +0100
Re: Linux to windows IPC john.spooner@gmail.com - 2012-10-25 06:31 -0700
csiph-web