create sockets from group input and output