starting socket work