Left for archival purposes.

User avatar
By ThomasW
#7261 Hi,
This is a small addition to net.socket :
Code: Select allip, port = sk:getpeer()

Returns IP-Address and remote port of a connection. To install, apply the enclosed patch to app/modules/net.c and rebuild.

Thomas
Attachments
(1.26 KiB) Downloaded 681 times
User avatar
By ThomasW
#7295
Fr4gg0r wrote:Can/Did you do a pull request on Github?

No, I'm not familiar with the procedures on github (yet). I plan to learn this when time allows...

Thomas