X-Git-Url: http://git.scottworley.com/reliable-chat/blobdiff_plain/520c21fdb6211574d467ec2bdc79c4d717721c51..270d2ae5829e1d66dcc1a0fb78ba3c2e3c3c22de:/server/server.go?ds=sidebyside diff --git a/server/server.go b/server/server.go index 379ebb2..adbbf84 100644 --- a/server/server.go +++ b/server/server.go @@ -27,6 +27,7 @@ import "strconv" import "time" var port = flag.Int("port", 21059, "Port to listen on") +var localaddress = flag.String("localaddress", "", "Local address to bind to") var frame_count = expvar.NewInt("frame_count") var speak_count = expvar.NewInt("speak_count") @@ -120,6 +121,7 @@ const frame_html = `