Socket working