Fidonet Portal

From: Nil Alexandrov (2:5015/46)
To: n/a
Date: Fri, 03.01.20 00:23
jamnntpd issues, smapinntpd
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)

+ int enable = 1;
+ if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(int)Wink < 0)
+ {
+ uchar err[200];
+ os_showerror("Failed to reuse address/port:
+ 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

Best Regards, Nil
--- GoldED+/LNX 1.1.5
* Origin: -=NIL BBS=- (2:5015/46)


This forum contains echomail areas hosted on Nightmare BBS You can browse local echomail areas, italian fidonet areas and a selection of international fidonet areas, reading messages posted by users in Nightmare BBS or even other BBSs all over the world. You can find file areas too (functional to fidonet technology). You can browse echomail areas and download files with no registration, but if you want to write messages in echomail areas, or use fidonet netmail (private messages with fidomet technology), you have to register. Only a minimal set of data is required, functional to echomail and netmail usage (name, password, email); a registration and login with facebook is provided too, to allow easy registration. If you won't follow rules (each echomail areas has its own, regularly posted in the echomail), your account may be suspended;