Do stuff with tcp connections