www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/26/22:01:07

From: wdhwang AT ms4 DOT hinet DOT net ()
Newsgroups: comp.os.msdos.djgpp
Subject: [Help]About TCPLIB problem
Date: 27 May 1998 00:55:26 GMT
Organization: DCI HiNet
Lines: 35
Message-ID: <6kfo9u$pub@netnews.hinet.net>
NNTP-Posting-Host: ms4.hinet.net
NNTP-Posting-User: wdhwang
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Dear all:
    Now I am programming TCP/IP based on packet driver under
MSDOS 6.22 and DJGPP V2. And I have downloaded the tcplib.zip
from ftp server. But when I compiler this library, some warnings
and errors are appeared. I don't how to make this library perfectly.
The warning and errors like theses followings:

1. The following structs and macro has defined in <sys/types.h>.
So these are redifined !!
typedef	struct fd_set {
	fd_mask	fds_bits[mskcnt];
} fd_set;
#define FD_SET(n, p)    BITSET(p,n)
#define FD_CLR(n, p)    BITCLEAR(p,n)
#define FD_ISSET(n, p)  GETBIT(p,n)
#define FD_ZERO(p)      CLEARBITS(p)

2. Where is the header file <sys/uio.h> ??

LIKE THESE mentioned above.
    Even I do some minor change by myself to erase the warning and
error. But this library still cannot work. Is there any one can
help me?  Please give me some suggestions ^_^
    Thanks in advance !
--

						Sincerely yours
						Wen-Dwo Hwang 
==================================
Wen-Dwo Hwang     
E-mail :
wdhwang AT ms4 DOT hinet DOT net
wdhwang AT csie DOT nctu DOT edu DOT tw
==================================

- Raw text -


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