lua-users home
lua-l archive

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


>
> The function you pass to "create" returns an object that
> does all that. It starts as a table that has a field 'c', a
> field connect, and a metatable that forwards all other
> requests to 'c'. When somebody calls connect on this table, it simply calls
> connect on c, replaces c with a ssl.wrap, and
> calls dohandshake on the new c. That's it, right?
>
> []s,
> Diego
>

Ah, thats it. Many thanks. I didn't think of just replacing c...

jim