Basic commands working across a socket