new socket structure