Indigo Rose Software
  #1  
Old 10-06-2005
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
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
Attached Files
File Type: apz WebServer.apz (401.2 KB, 1098 views)
Reply With Quote
  #2  
Old 10-06-2005
Ted Sullivan's Avatar
Ted Sullivan Ted Sullivan is offline
Indigo Rose Staff Member
 
Join Date: Oct 2003
Posts: 825
Fantastic stuff!
__________________
Check out the new MSI Factory 2.0!
Reply With Quote
  #3  
Old 10-06-2005
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
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
Reply With Quote
  #4  
Old 10-06-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
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.
Reply With Quote
  #5  
Old 10-07-2005
Dermot Dermot is offline
Indigo Rose Customer
 
Join Date: Apr 2004
Location: Vancouver, Canada
Posts: 1,520
That is just amazing! and yeah so little code.
__________________
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.
Reply With Quote
  #6  
Old 10-07-2005
Corey's Avatar
Corey Corey is offline
Registered User
 
Join Date: Aug 2002
Posts: 9,746
Quote:
That is just amazing!
No matter how impressed I get with Worm he always manages to quietly raise the bar a little more somehow.
Reply With Quote
  #7  
Old 10-07-2005
yosik's Avatar
yosik yosik is offline
Indigo Rose Customer
 
Join Date: Jun 2002
Location: Israel
Posts: 1,863
Amazing, Worm!!
Seems so easy...once YOU have done it....

Yossi
Reply With Quote
  #8  
Old 10-07-2005
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,058
This gets to "Swankys"!

__________________
Intrigued
www.amsuser.com
Reply With Quote
  #9  
Old 10-07-2005
Desmond's Avatar
Desmond Desmond is offline
Indigo Rose Staff Member
 
Join Date: Jul 2003
Posts: 628
Stupendous!
__________________
Setup Factory 8.0 comes with over 250 actions so you can create smaller, faster and more intelligent software installers than ever before.

WebHelp Guides: AMS | MSIFACT | SUF | TU | VP
Reply With Quote
  #10  
Old 10-07-2005
Intrigued's Avatar
Intrigued Intrigued is offline
Indigo Rose Customer
 
Join Date: Dec 2003
Location: Location! Location!
Posts: 6,058
I was typing sooo fast again.

to = TWO!

*smacks self in back of head*
__________________
Intrigued
www.amsuser.com
Reply With Quote
  #11  
Old 10-07-2005
Mikhail Mikhail is offline
Forum Member
 
Join Date: Aug 2004
Location: Rio de Janeiro, Brasil
Posts: 61
Peekaboo!

No words, Master. :-)
Reply With Quote
  #12  
Old 10-07-2005
Mikhail Mikhail is offline
Forum Member
 
Join Date: Aug 2004
Location: Rio de Janeiro, Brasil
Posts: 61
is possible to do a powerful and minimal p2p **** with ams + LUA (still more minimalistic than gnutella protocol v0.4),...

Reply With Quote
  #13  
Old 10-07-2005
Worm Worm is offline
Indigo Rose Customer
 
Join Date: Jul 2002
Location: USA
Posts: 3,937
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.
Reply With Quote
  #14  
Old 10-08-2005
Josué Alba's Avatar
Josué Alba Josué Alba is offline
Forum Member
 
Join Date: Mar 2005
Posts: 134
YOU ARE THE GUY WORM.


No words
Reply With Quote
  #15  
Old 02-22-2006
playmenow playmenow is offline
Banned
 
Join Date: Nov 2005
Location: Banned by moderator.
Posts: 264
if...

it would be perfect for me if it would support php
Reply With Quote
Reply

Tags
server, web

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


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.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software