Subj : Getting the BBS IP address
To   : Digital Man
From : Codefenix
Date : Tue Sep 12 2023 09:03 am

 Re: Getting the BBS IP address
 By: Digital Man to Codefenix on Mon Sep 11 2023 04:34 pm

DM> Is there a client connected? It's certainly not 0.0.0.0 for me:

Yes, mine. :) I'm running a script containing the client.socket.local_ip_address while logged into the BBS.

DM> ;eval
DM> Parameter(s): client.socket.local_ip_address
DM> Result (string): 71.95.196.36

Interesting. I get a different result when I call client.socket.local_ip_address that way as opposed to calling it within a script.

;EVAL
Parameter(s): client.socket.local_ip_address
Result (string): 192.168.1.9

Also, it's returning the behind-the-router IP for me, rather than the outward-facing IP, which it seems like it's supposed to do given your output.

|01<|09co|03d|11e|15�|11e|03n|09ix|01>|07


...A pnp transistor will be an npn.
---
� Synchronet � -=[ ConstructiveChaos BBS | conchaos.synchro.net ]=-