|
#1
|
|||
|
|||
|
LuaSocket: Simple Web Server
This example is a little web server that uses the LuaSocket library. It only supports GET at this time, but could easily be added upon to support POST. Build a web server of your own, use AMS as your CGI... a lot of possibilities here. Ultimately, you'd want to get the clients into an array, but I only have so long of a lunch break
![]() Skills Used: Basic TCP/IP Knowlege, System.LanInfo, Input Object, Page Timer, and the Lua Socket Library |
|
#2
|
||||
|
||||
|
Fantastic stuff!
__________________
Check out the new MSI Factory 2.0! |
|
#3
|
|||
|
|||
|
It suprises me at how little code it actually takes to implement. I kinda put it off thinking it might be a lot more work. I have to say that I am pleasantly suprised
|
|
#4
|
||||
|
||||
|
I've had the same experience. For some of the stuff I've built in 6.0 it has been shocking how little code/time it took compared to what I had envisioned prior to the design.
|
|
#5
|
|||
|
|||
|
That is just amazing!
__________________
Dermot AMS Add-ons - xDialog.com A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine. |
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
||||
|
||||
|
Amazing, Worm!!
Seems so easy...once YOU have done it.... Yossi |
|
#8
|
||||
|
||||
|
This gets to "Swankys"!
|
|
#10
|
||||
|
||||
|
I was typing sooo fast again.
to = TWO! *smacks self in back of head* |
|
#11
|
|||
|
|||
|
No words, Master. :-)
|
|
#12
|
|||
|
|||
|
is possible to do a powerful and minimal p2p **** with ams + LUA (still more minimalistic than gnutella protocol v0.4),...
|
|
#13
|
|||
|
|||
|
Possible? Definitely!
I wasn't too sure what to expect when Brett enlightened us that we could now load the LuaSocket library with v6. Implementing the library was a lot easier than I expected. I'm not 100% sure that the way I've done this is the "best" method, but it works, so I'm not complaining. |
|
#14
|
||||
|
||||
|
YOU ARE THE GUY WORM.
No words |
|
#15
|
|||
|
|||
|
if...
it would be perfect for me if it would support php
|
![]() |
| Tags |
| server, web |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Having an AM5 exe start automatically on a web server | Larry Singer | AutoPlay Media Studio 5.0 | 7 | 10-09-2005 09:16 PM |
| Simple web button getting errors | MWMTex | AutoPlay Media Studio 5.0 | 3 | 02-03-2004 08:18 PM |
| Permissions Required On Web Server For Client Access | David Ferguson | TrueUpdate 1.0 | 5 | 12-19-2003 08:41 PM |
| HOW TO: Return a Web Browser Object to the Original URL after a Page Jump | Support | AutoPlay Media Studio 4.0 Examples | 0 | 02-03-2003 10:18 AM |
| How to send updated files via FTP to web server? | kms2000 | TrueUpdate 1.0 | 0 | 08-09-2002 11:20 AM |
All times are GMT -6. The time now is 10:16 AM.










Linear Mode

