コード例 #1
0
ファイル: server.go プロジェクト: mjbruce/capstone
// Listen - Calls lynxutil to create a welcomeSocket that listens for TCP connections - once
// someone connects a goroutine is spawned to handle the request
func Listen() {
	lynxutil.Listen(handleFileRequest, lynxutil.ServerPort)
}
コード例 #2
0
ファイル: tracker.go プロジェクト: mjbruce/capstone
// Listen - Calls lynxutil to create a welcomeSocket that listens for TCP connections - once
// someone connects a goroutine is spawned to handle the request
func Listen() {
	lynxutil.Listen(handleRequest, lynxutil.TrackerPort)
}