home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   JAMNNTPD      Support for the JAMNNTPD software client      2,630 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,150 of 2,630   
   Nil Alexandrov to Oli   
   jamnntpd issues, smapinntpd   
   02 Jan 20 23:23:34   
   
   REPLY: 2:280/464.47@fidonet 5e0e19f5   
   MSGID: 2:5015/46 5e0e51f7   
   CHRS: CP866 2   
   TZUTC: 0300   
   TID: hpt/lnx 1.9.0-cur 17-02-17   
   Hello, Oli!   
      
   Thursday January 02 2020 17:18, from Oli -> Nil Alexandrov:   
      
    NA>> * Socket reuse (just one line fix, otherwise you need   
    NA>> to wait a few mins after restart).   
    Ol> and i wondered why jamnntpd never restarts immediately ...   
      
   Here is my patch for you.   
      
   $ git diff   
   diff --git a/src/main.c b/src/main.c   
   index 6aaded8..df160f0 100644   
   -+- a/src/main.c   
   +++ b/src/main.c   
   @@ -460,6 +460,17 @@ int main(int argc, char **argv)   
          exit(10);   
       }   
      
   +   int enable = 1;   
   +   if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(int)) < 0)   
   +   {   
   +      uchar err[200];   
   +   
   +      os_showerror("Failed to reuse address/port: %s",os_strerr   
   os_errno(),err,200));   
   +      os_free();   
   +      freeargs();   
   +      exit(10);   
   +   }   
   +   
       memset(&local, 0, sizeof(local) );   
      
       local.sin_family = AF_INET;   
      
    Ol> please, keep jamnntpd independent from the husky project, which is a   
    Ol> mess ...   
      
   Though, Husky project is alive and is constantly being patched by some 2:R50   
   SysOps.   
      
   Best Regards, Nil   
   --- GoldED+/LNX 1.1.5   
    * Origin: -=NIL BBS=- (2:5015/46)   
   SEEN-BY: 1/120 123 14/6 15/0 18/0 19/36 34/999 90/1 106/201 116/18   
   SEEN-BY: 123/0 25 50 140 150 755 128/2 135/300 153/7715 154/10 203/0   
   SEEN-BY: 221/0 1 6 242 360 222/2 227/114 229/426 452 1014 230/150   
   SEEN-BY: 230/152 240/1120 5832 249/206 317 250/1 261/38 100 1466 266/512   
   SEEN-BY: 267/155 275/100 280/464 5003 5555 282/1031 1056 291/1 111   
   SEEN-BY: 300/4 310/31 317/3 320/119 219 322/757 340/400 342/13 200   
   SEEN-BY: 423/81 640/305 1138 1321 1384 712/848 801/189 2320/105 3634/0   
   SEEN-BY: 3634/12 15 27 50 119 5020/1042   
   PATH: 5015/46 5020/1042 261/38 3634/12 640/1384 221/1 280/464 229/426   
      

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca