withSocketsDo