s command and S connection