PtokaX forum

Development Section => Your Developing Problems => Topic started by: err0r on 05 February, 2004, 04:17:07

Title: fetch URL data?
Post by: err0r on 05 February, 2004, 04:17:07
i've browsed and looked and done everything i can think of to answer this question .. but i can't find info on it anywhere.

is it possible, with LUA, to open an HTTP socket and get/post data?
Title:
Post by: c h i l l a on 05 February, 2004, 19:46:50
wel basicly you just open a socket connect to the server and send you get request and wait for if something is comming back...

I made a script called  imdb.freedb  look at it
Title:
Post by: NotRabidWombat on 06 February, 2004, 02:20:26
go here if you don't want to bother learning the http protocol and blocking sockets

http://www.tecgraf.puc-rio.br/luasocket/

-NotRabidWombat