socket structure