www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/06/12/16:58:10

Xref: news2.mv.net comp.os.msdos.djgpp:4889
From: t DOT s DOT abbott AT larc DOT nasa DOT gov (Terence Abbott)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: TCP library?
Date: 12 Jun 1996 15:33:49 GMT
Organization: NASA -Langley Research Center
Lines: 33
Message-ID: <4pmo0t$nfs@reznor.larc.nasa.gov>
References: <4p46s3$4su AT cantaloupe DOT srv DOT cs DOT cmu DOT edu>
NNTP-Posting-Host: tsabbo.larc.nasa.gov
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <4p46s3$4su AT cantaloupe DOT srv DOT cs DOT cmu DOT edu>, 
abm AT cs DOT cmu DOT edu says...
>
>
>I am trying to install network support under djgpp, and got
>the library tcplib.zip from clarkson.edu .
>
>The only problem is that it won't make.  Specifically, 
pctcp.o
>won't make.  I redirected the output from make, and tried to
>track down the problem with no success.
>
>Has anybody out there installed this library successfully?
>BTW, I am using version 2.0 of djgpp with the associated
>make and gcc executables.

Yes...

Change osdep.h as follows:

#ifndef OPEN_MAX /* 21 Nov 95 for V2.0, tsa */
#define OPEN_MAX 50 /* Max open files per process */
#endif

and....

#ifndef FD_SET /* 21 Nov 95 for V2.0, tsa */
typedef	struct fd_set {
	fd_mask	fd_bits[mskcnt];
} fd_set;



- Raw text -


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