intl routine to socketio main