working tcp example
sock.reuseaddr