Socket communication works