socket mistakes