Re: lua sockets and source port
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lua sockets and source port
- From: Jorge <xxopxe@...>
- Date: 2009年5月11日 21:15:59 -0300
On Mon, 2009年05月11日 at 16:33 -0700, Sam Roberts wrote:
> % lua -lsocket
> Lua 5.1.2 Copyright (C) 1994-2007 Lua.org, PUC-Rio
> > s=socket.tcp()
> > s:bind("*", 8765)
> > = s:connect("localhost", 8080)
> 1
> >
ACK! bind! I swear i saw it several times while trying to solve it, and
each time thought "nah, that's only for server sockets".
Sigh, and we're only in May...
Thanks Sam.
Jorge