diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2001-09-27 20:02:24 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2001-09-27 20:02:24 +0000 |
| commit | 2f0754972219496fb0216c47522490cb4e4133ad (patch) | |
| tree | 68f1360f98baf26460082793680a09910bbad5ae /samples | |
| parent | 74979295a263b43a943630d0e0985b535a84a95b (diff) | |
| download | luasocket-2f0754972219496fb0216c47522490cb4e4133ad.tar.gz luasocket-2f0754972219496fb0216c47522490cb4e4133ad.tar.bz2 luasocket-2f0754972219496fb0216c47522490cb4e4133ad.zip | |
Binds to all interfaces.
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/listener.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/listener.lua b/samples/listener.lua index f9ee3bf..8e2c7ce 100644 --- a/samples/listener.lua +++ b/samples/listener.lua | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | host = host or "localhost" | 1 | host = host or "*" |
| 2 | port = port or 8080 | 2 | port = port or 8080 |
| 3 | if arg then | 3 | if arg then |
| 4 | host = arg[1] or host | 4 | host = arg[1] or host |
