🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8239

Error message : "Connection to server broken"

#8239
From: Goh Ok-Hee
Date: Fri, 25 Mar 1994 04:22
82 lines
2733 bytes
How are you ?
I was tring to install tin-1.22 and patch NNTP1.5.11 with
INSTALL.NNTP provided in tin-1.22.

But during patching NNTP1.5.11, I met error message in timer.c of NNTP1.5.11.
It makes timer.c.rej.
And I updated timer.c file manaually, I succeed to compiling the NNTP1.5.11.
But it is operated abnormally.
 
If I run tin or rn , it is ended with following message.

Connecting to sun330.snu.ac.kr...
Connection to server broken.

Tin has no problem. Only the NNTP1.5.11 patching with INSTALL.NNTP provided in tin-1.22 has problem. ( the NNTP1.5.11 not patching is well)

What's problem?

please reply to me directly.

------------timer.c.rej ---------------
 
***************
*** 18,29 ****
  #ifdef TIMERS
  #include <sys/time.h>
  #include "timer.h"
! #ifdef USG
! #ifdef LAI_TCP
  #include <sys/bsdtypes.h>
- #define BSDSELECT
  #endif
! #else
  #ifndef FD_SETSIZE
  /* Forward compatability */
  #define FD_SET(n, p)    ((p)->fds_bits[0] |= (1<<(n)))
--- 18,27 ----
  #ifdef TIMERS
  #include <sys/time.h>
  #include "timer.h"
! #ifdef ISC
  #include <sys/bsdtypes.h>
  #endif
! #ifndef USG
  #ifndef FD_SETSIZE
  /* Forward compatability */
  #define FD_SET(n, p)    ((p)->fds_bits[0] |= (1<<(n)))
***************
*** 70,76 ****
  	register int i, n;
  	register struct timer *tp;
  	register long secs;
! #ifndef BSDSELECT
  	long timeout;
  	long readfds;
  #else
--- 67,73 ----
  	register int i, n;
  	register struct timer *tp;
  	register long secs;
! #if defined(USG) && !defined(ISC)
  	long timeout;
  	long readfds;
  #else
***************
*** 84,90 ****
  		return(1);
  
  	/* Length of next timeout is minimum of all "timers" */
! #ifndef BSDSELECT
  	timeout = -1;
  	for (i = ntimer, tp = timers; i > 0; --i, ++tp)
  		if (tp->left >= 0 &&
--- 81,87 ----
  		return(1);
  
  	/* Length of next timeout is minimum of all "timers" */
! #if defined(USG) && !defined(ISC)
  	timeout = -1;
  	for (i = ntimer, tp = timers; i > 0; --i, ++tp)
  		if (tp->left >= 0 &&
Technical Details
Message-ID: <1994Mar25.042213.4403@news.snu.ac.kr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!tiger!sun330.snu.ac.kr!usenet

Show Full Headers
Complete Article Headers
Message-ID: <1994Mar25.042213.4403@news.snu.ac.kr>
Subject: Error message : "Connection to server broken"
Date: Fri, 25 Mar 1994 04:22:13 +0000
From: goh@sun330.snu.ac.kr (Goh Ok-Hee)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!tiger!sun330.snu.ac.kr!usenet
Newsgroups: news.software.readers
Sender: usenet@news.snu.ac.kr (NEWS POSTER)
Nntp-Posting-Host: sun330.snu.ac.kr
Organization: SNU,KOREA
X-Newsreader: Tin 1.1 PL3
Lines:  85