socket work