lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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