> Date: Thu, 15 Oct 2009 00:43:37 +0200
> From: firstname.lastname@example.org
> To: email@example.com
> Subject: Re: A simple SOAP client
> Thijs Koerselman wrote:
> > But I seem to be missing something obvious. I copied soap.lua and
> > http.lua from the LuaSOAP library to my script directory. The script
> > starts with:
> > require "luarocks.require"
> > require "http"
> > This triggers an error about "luasocket" which can't be found. I
> > initially thought it had something to do with luarocks, but it seems
> > that in http.lua there is a line: require "luasocket" which I think
> > should read: require "socket".
> No, it should be left as it was. You should install luasocket (which is
> a prerequisite) either using luarocks, or with your OS package manager
> (if it is available).
LuaSocket is loaded with require "socket", despite what you might expect. At least in my environment, and I don't believe I changed any LuaSocket file names.
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now.