Added sockets and binding them in the struct.