box-o-sand/sltcpsrv/syslog-tcp-server/main.go

17 lines
208 B
Go
Raw Normal View History

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)
}