Mail Archives: djgpp/2000/10/24/15:32:14
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: IPC on Windows</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>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.</FONT></P>
<P><FONT SIZE=3D2>There is a way to get perl to link to c, but I have =
never done it.</FONT>
</P>
<P><FONT SIZE=3D2> -----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Dieter Demerre [<A =
HREF=3D"mailto:ext DOT dieter DOT demerre AT siemens DOT be">mailto:ext.dieter.demerre@=
siemens.be</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, October 24, 2000 8:33 =
AM</FONT>
<BR><FONT SIZE=3D2>To: djgpp AT delorie DOT com</FONT>
<BR><FONT SIZE=3D2>Subject: =
Re: IPC on Windows</FONT>
</P>
<P><FONT SIZE=3D2>-----BEGIN PGP SIGNED MESSAGE-----</FONT>
</P>
<P><FONT SIZE=3D2>On Mon, 23 Oct 2000, Richard Dawe wrote:</FONT>
</P>
<P><FONT SIZE=3D2>> Dieter Demerre wrote:</FONT>
<BR><FONT SIZE=3D2>> > I'm looking for a way to communicate =
between a Windows program (probably</FONT>
<BR><FONT SIZE=3D2>> > to be written in VC or VB) and a Unix-C =
program (written on HP). Now</FONT>
<BR><FONT SIZE=3D2>> > I'd like to consider Djgpp as a possible =
solution for my problem if</FONT>
<BR><FONT SIZE=3D2>> > someone could point me in the correct =
direction for an equivalent of</FONT>
<BR><FONT SIZE=3D2>> > lipc (like named pipes).</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I'm confused by your message - where are you =
going to be using DJGPP? It</FONT>
<BR><FONT SIZE=3D2>> seems like you will be using VC or VB on the =
PC. Anyhow, I do not know of</FONT>
<BR><FONT SIZE=3D2>> any libraries for DJGPP that provide IPC =
between machines. (libsocket</FONT>
<BR><FONT SIZE=3D2>> simulates Unix domain sockets _between =
libsocket programs_ on a PC.)</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> You could use DCE RPC between the Unix box and =
the PC. They should both</FONT>
<BR><FONT SIZE=3D2>> have DCE RPC support.</FONT>
</P>
<P><FONT SIZE=3D2>Sorry for the confusion:</FONT>
</P>
<P><FONT SIZE=3D2>The program that I would compile using djgpp is a =
program that's developed</FONT>
<BR><FONT SIZE=3D2>on HP (HP-UX). It's a communication package =
that implements a specific</FONT>
<BR><FONT SIZE=3D2>protocol. Now there are some programs =
developed for NT (probably using VB</FONT>
<BR><FONT SIZE=3D2>or VC++) that should be able to use that =
communication channel. I've been</FONT>
<BR><FONT SIZE=3D2>asked to examine the possibilities to port my =
original communication</FONT>
<BR><FONT SIZE=3D2>program to NT, hence the question about =
usability. I am mostly interested</FONT>
<BR><FONT SIZE=3D2>in availability of</FONT>
<BR><FONT SIZE=3D2>bind()</FONT>
<BR><FONT SIZE=3D2>gethostbyname()</FONT>
<BR><FONT SIZE=3D2>socket()</FONT>
<BR><FONT SIZE=3D2>select()</FONT>
</P>
<P><FONT SIZE=3D2>******* Groetjes vanwege ***** Greetings From =
*******</FONT>
<BR><FONT SIZE=3D2>Dieter Demerre - <A =
HREF=3D"http://www.angelfire.com/de/ddemerre" =
TARGET=3D"_blank">http://www.angelfire.com/de/ddemerre</A></FONT>
<BR><FONT SIZE=3D2> ddemerre AT acm DOT org - =
ext DOT dieter DOT demerre AT siemens DOT be</FONT>
</P>
<P><FONT SIZE=3D2>Although this private and confidential e-mail has =
been sent </FONT>
<BR><FONT SIZE=3D2>to you through a personal Siemens account, it does =
NOT </FONT>
<BR><FONT SIZE=3D2>represent any official opinion of Siemens.</FONT>
</P>
<P><FONT SIZE=3D2>If you are not the intended recipient of this e-mail =
and </FONT>
<BR><FONT SIZE=3D2>have received it in error, please notify the sender =
by </FONT>
<BR><FONT SIZE=3D2>replying with 'received in error' as the subject and =
then </FONT>
<BR><FONT SIZE=3D2>delete it from your mailbox.</FONT>
</P>
<P><FONT SIZE=3D2>-----BEGIN PGP SIGNATURE-----</FONT>
<BR><FONT SIZE=3D2>Version: PGP 6.5.8</FONT>
</P>
<P><FONT =
SIZE=3D2>iQCVAwUBOfWBkK5coohL2ygZAQEQpwP7Br0Qsx6cR+7FZDBgj/6ySDHiMIVSIJZ=
L</FONT>
<BR><FONT =
SIZE=3D2>5ErVItiKcSWygzu2ax7y7jR3SCg7bjv+GmIc/qnrJjW0LlJzrPyOi/gWpXo8LYF=
Y</FONT>
<BR><FONT =
SIZE=3D2>4gPsyccaHs/yUPbD4WnRyUk4aW6XWFLI5WVX/2BnybjVYmgxlu5ORlqQq7NK5Lz=
s</FONT>
<BR><FONT SIZE=3D2>XFb5G1vO9Tg=3D</FONT>
<BR><FONT SIZE=3D2>=3DQy35</FONT>
<BR><FONT SIZE=3D2>-----END PGP SIGNATURE-----</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C03DE9.394587CA--
- Raw text -