Example #1
0
// 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)
}
Example #2
0
// 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)
}