www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/05/16/11:11:19

Message-ID: <DB85AFBE7C0DD311BF260004ACB80BFCED95@nex_server.nextransport.com>
From: George Kinney <GKinney AT nextransport DOT com>
To: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: RE: Sockets
Date: Tue, 16 May 2000 09:33:15 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2448.0)
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_01BFBF3B.49E83596
Content-Type: text/plain

>Windows way, and the Unix way.  DJGPP does not seem to come with the
>right libraries for either.  I would need netdb.h and sys/sockets.h, or
>windows.h and wndsock.h.  Will those files work with DJGPP?  Where do I
>get them?

There are two sockets libs that I am aware of,
Watt32 and libsocket, both of which are available from simtel with the
rest of the DJGPP distribution. There is more info on both in the FAQ and
at the respective maintainers websites.

windows libraries are by definition not compatible with DJGPP, since it is
a *DOS* compiler. You can run it in a DOS box, but it is quite happy on a 
plain vanilla DOS system as well.

If you want to do it the windows way, get a windows compiler. (LCC-Win32,
cygwin,
mingw, etc.)

Good luck.

------_=_NextPart_001_01BFBF3B.49E83596
Content-Type: text/html
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=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2448.0">
<TITLE>RE: Sockets</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">Windows way, and the Unix way.&nbsp; DJGPP does not seem =
to come with the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">right libraries for either.&nbsp; I would need netdb.h =
and sys/sockets.h, or</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">windows.h and wndsock.h.&nbsp; Will those files work =
with DJGPP?&nbsp; Where do I</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">&gt;</FONT><FONT SIZE=3D2 =
FACE=3D"Arial">get them?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">There are two sockets libs that I am =
aware of,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">Watt32 and libsocket, both of which =
are available from simtel with the</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">rest of the DJGPP distribution. There =
is more info on both in the FAQ and</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">at the respective maintainers =
websites.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">windows libraries are by definition =
not compatible with DJGPP, since it is</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">a *DOS* compiler. You can run it in a =
DOS box, but it is quite happy on a </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">plain vanilla DOS system as =
well.</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">If you want to do it the windows way, =
get a windows compiler. (LCC-Win32, cygwin,</FONT>
<BR><FONT SIZE=3D2 FACE=3D"Arial">mingw, etc.)</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Good luck.</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BFBF3B.49E83596--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019