[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: LuaSocket: Rationale behind address arg in socket.bind
- From: "Andreas Falkenhahn" <andreas@...>
- Date: Mon, 12 Apr 2010 16:16:59 +0200
could someone briefly explain to me the rationale behind the "address" argument in
LuaSocket's socket.bind() function? Specifically, I'm wondering why this argument
is needed at all... shouldn't this always be set to 127.0.0.1? I can't imagine a case
where I'd need to set this to a different address than 127.0.0.1 but then again, I'm
just starting out with LuaSocket (& sockets in general)....
"Remember: It's nice to be important but it's more important to be nice!"