[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: LuaSocket: find out current IP address
- From: "Andreas Falkenhahn" <andreas@...>
- Date: Sun, 11 Apr 2010 14:39:21 +0200
Hi,
I'm new to LuaSocket so please bear with me if the next question is
all too obvious :) All I want to do is find out my current IP and host name
using LuaSocket. I tried to use getsockname() but this seems to return
the IP of my router (192.168.0.1) instead of my real IP. How do I retrieve
my real IP using LuaSocket?
Tks,
Andreas
--
"Remember: It's nice to be important but it's more important to be nice!"