Changed variable name for outgoing socket