Subj : Re: Obtain Socket object from within script
To   : echicken
From : Mortifis
Date : Tue Aug 13 2019 01:11 pm

> You're right, not likely necessary. I had tried
> client.socket.remote_ip_address but it was still showing as 127.0.0.1, so I
> suspect that connecting to an already open socket as var s = new
> Socket(true, client.socket.descriptor); print(s.Socket.remote_ip_address)
> would likely just show what was already stored in
> client.socket.remote_ip_address; which is already user.ip_address and
> bbs.atcode["CID]  anyway ... hmmm...

despite the error in the print statement (should be s.remote_ip_address) the
assumption was correct ... that value is still 127.0.0.1  and not 24.138.28.115
:-/


My doctor said I have the body of a 25 year old ... and the mind of a 10 :-/

---
� Synchronet � AlleyCat! BBS - http://alleycat.synchro.net:81