box-o-sand/oldstuff/sltcpsrv/syslog-tcp-server/main.go
2015-06-22 13:15:42 -05:00

17 lines
208 B
Go

package main
import (
"flag"
. "github.com/meatballhat/box-o-sand/sltcpsrv"
)
var (
port = flag.Int("p", 10514, "Port number on which to listen")
)
func main() {
flag.Parse()
ListenAndServe(*port)
}