Socket script