Enhancing the tcp socket settings