Message-ID: <5337D585DDD3D111996B0008C728F07DCE463C@pa00fsr01.pa.atitech.com> From: Nick DiToro To: "'djgpp AT delorie DOT com'" Subject: RE: IPC on Windows Date: Tue, 24 Oct 2000 14:35:46 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C03DE9.394587CA" Reply-To: djgpp AT delorie DOT com This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C03DE9.394587CA Content-Type: text/plain; charset="iso-8859-1" I don't know about DJGPP, but those functions are provided by Perl under NT and Win 9x. You can get perl at www.activestate.com. Perl is pretty close to c in syntax. There is a way to get perl to link to c, but I have never done it. -----Original Message----- From: Dieter Demerre [mailto:ext DOT dieter DOT demerre AT siemens DOT be] Sent: Tuesday, October 24, 2000 8:33 AM To: djgpp AT delorie DOT com Subject: Re: IPC on Windows -----BEGIN PGP SIGNED MESSAGE----- On Mon, 23 Oct 2000, Richard Dawe wrote: > Dieter Demerre wrote: > > I'm looking for a way to communicate between a Windows program (probably > > to be written in VC or VB) and a Unix-C program (written on HP). Now > > I'd like to consider Djgpp as a possible solution for my problem if > > someone could point me in the correct direction for an equivalent of > > lipc (like named pipes). > > I'm confused by your message - where are you going to be using DJGPP? It > seems like you will be using VC or VB on the PC. Anyhow, I do not know of > any libraries for DJGPP that provide IPC between machines. (libsocket > simulates Unix domain sockets _between libsocket programs_ on a PC.) > > You could use DCE RPC between the Unix box and the PC. They should both > have DCE RPC support. Sorry for the confusion: The program that I would compile using djgpp is a program that's developed on HP (HP-UX). It's a communication package that implements a specific protocol. Now there are some programs developed for NT (probably using VB or VC++) that should be able to use that communication channel. I've been asked to examine the possibilities to port my original communication program to NT, hence the question about usability. I am mostly interested in availability of bind() gethostbyname() socket() select() ******* Groetjes vanwege ***** Greetings From ******* Dieter Demerre - http://www.angelfire.com/de/ddemerre ddemerre AT acm DOT org - ext DOT dieter DOT demerre AT siemens DOT be Although this private and confidential e-mail has been sent to you through a personal Siemens account, it does NOT represent any official opinion of Siemens. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQCVAwUBOfWBkK5coohL2ygZAQEQpwP7Br0Qsx6cR+7FZDBgj/6ySDHiMIVSIJZL 5ErVItiKcSWygzu2ax7y7jR3SCg7bjv+GmIc/qnrJjW0LlJzrPyOi/gWpXo8LYFY 4gPsyccaHs/yUPbD4WnRyUk4aW6XWFLI5WVX/2BnybjVYmgxlu5ORlqQq7NK5Lzs XFb5G1vO9Tg= =Qy35 -----END PGP SIGNATURE----- ------_=_NextPart_001_01C03DE9.394587CA Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: IPC on Windows

I don't know about DJGPP, but those functions are = provided by Perl under NT and Win 9x.  You can get perl at = www.activestate.com.  Perl is pretty close to c in = syntax.

There is a way to get perl to link to c, but I have = never done it.

 -----Original Message-----
From:   Dieter Demerre [mailto:ext.dieter.demerre@= siemens.be]
Sent:   Tuesday, October 24, 2000 8:33 = AM
To:     djgpp AT delorie DOT com
Subject:        = Re: IPC on Windows

-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 23 Oct 2000, Richard Dawe wrote:

> Dieter Demerre wrote:
> > I'm looking for a way to communicate = between a Windows program (probably
> > to be written in VC or VB) and a Unix-C = program (written on HP).  Now
> > I'd like to consider Djgpp as a possible = solution for my problem if
> > someone could point me in the correct = direction for an equivalent of
> > lipc (like named pipes).
>
> I'm confused by your message - where are you = going to be using DJGPP? It
> seems like you will be using VC or VB on the = PC. Anyhow, I do not know of
> any libraries for DJGPP that provide IPC = between machines. (libsocket
> simulates Unix domain sockets _between = libsocket programs_ on a PC.)
>
> You could use DCE RPC between the Unix box and = the PC. They should both
> have DCE RPC support.

Sorry for the confusion:

The program that I would compile using djgpp is a = program that's developed
on HP (HP-UX).  It's a communication package = that implements a specific
protocol.  Now there are some programs = developed for NT (probably using VB
or VC++) that should be able to use that = communication channel.  I've been
asked to examine the possibilities to port my = original communication
program to NT, hence the question about = usability.  I am mostly interested
in availability of
bind()
gethostbyname()
socket()
select()

******* Groetjes vanwege ***** Greetings From = *******
Dieter Demerre - http://www.angelfire.com/de/ddemerre
  ddemerre AT acm DOT org - = ext DOT dieter DOT demerre AT siemens DOT be

Although this private and confidential e-mail has = been sent
to you through a personal Siemens account, it does = NOT
represent any official opinion of Siemens.

If you are not the intended recipient of this e-mail = and
have received it in error, please notify the sender = by
replying with 'received in error' as the subject and = then
delete it from your mailbox.

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQCVAwUBOfWBkK5coohL2ygZAQEQpwP7Br0Qsx6cR+7FZDBgj/6ySDHiMIVSIJZ= L
5ErVItiKcSWygzu2ax7y7jR3SCg7bjv+GmIc/qnrJjW0LlJzrPyOi/gWpXo8LYF= Y
4gPsyccaHs/yUPbD4WnRyUk4aW6XWFLI5WVX/2BnybjVYmgxlu5ORlqQq7NK5Lz= s
XFb5G1vO9Tg=3D
=3DQy35
-----END PGP SIGNATURE-----

------_=_NextPart_001_01C03DE9.394587CA--