moonbridge

diff helloworld.lua @ 130:ee98e12427a9

Modified termination sequence handling
author jbe
date Wed Apr 15 00:54:17 2015 +0200 (2015-04-15)
parents 37532927dba9
children db8abd21762c
line diff
     1.1 --- a/helloworld.lua	Tue Apr 14 22:25:32 2015 +0200
     1.2 +++ b/helloworld.lua	Wed Apr 15 00:54:17 2015 +0200
     1.3 @@ -6,13 +6,6 @@
     1.4  local http = require "moonbridge_http"
     1.5  
     1.6  listen{
     1.7 -  { proto = "main" },
     1.8 -  connect = function()
     1.9 -    print("Main function executed")
    1.10 -  end
    1.11 -}
    1.12 -
    1.13 -listen{
    1.14    { proto = "tcp", host = "127.0.0.1", port = 8080 },  -- IPv4
    1.15    { proto = "tcp", host = "::1",       port = 8080 },  -- IPv6
    1.16    connect = http.generate_handler(

Impressum / About Us