<commit_before>package main

import (
	"./interface/ihttp"
	"./network"
	proto "code.google.com/p/goprotobuf/proto"
	"flag"
	"fmt"
)

var serverHello = &network.ServerHello{
	CodeName:      proto.String("BX"),
	VersionNumber: proto.String("0.0 pre-alpha"),
}

var about = flag.Bool("about", false, "shows server information")
var ip = flag.String("ip", "0.0.0.0", "the ip address to listen on")
var port = flag.Int("port", 6170, "the UDP port to listen on")

var httpOn = flag.Bool("http", false, "runs the http interface")
var httpListen = flag.String("httpL", "localhost:8088", "the address and port of http interface")

func main() {
	flag.Parse()
	if *about {
		fmt.Println(proto.MarshalTextString(serverHello))
	}
	if *httpOn {
		fmt.Printf("starting server: %v\n", *httpListen)
		ihttp.StartServer(*httpListen)
	}
}<commit_msg>changed port for consistency<commit_after>package main

import (
	"./interface/ihttp"
	"./network"
	proto "code.google.com/p/goprotobuf/proto"
	"flag"
	"fmt"
)

var serverHello = &network.ServerHello{
	CodeName:      proto.String("BX"),
	VersionNumber: proto.String("0.0 pre-alpha"),
}

var about = flag.Bool("about", false, "shows server information")
var ip = flag.String("ip", "0.0.0.0", "the ip address to listen on")
var port = flag.Int("port", 6170, "the UDP port to listen on")

var httpOn = flag.Bool("http", false, "runs the http interface")
var httpListen = flag.String("httpL", "localhost:6178", "the address and port of http interface")

func main() {
	flag.Parse()
	if *about {
		fmt.Println(proto.MarshalTextString(serverHello))
	}
	if *httpOn {
		fmt.Printf("starting server: %v\n", *httpListen)
		ihttp.StartServer(*httpListen)
	}
}
{'fraction_non_alphanumeric': 0.16299821534800712, 'fraction_numerical': 0.01665675193337299, 'mean_word_length': 4.644295302013423, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3566214', 'n_tokens_mistral': 618, 'n_tokens_neox': 596, 'n_words': 155}