Because you have not read the section in the help file about binary variables yet. If you would have, you would know you can't just echo a binvar like that.
I don't think you know sockets well enough to be trying out these things, I suggest reading some tutorials. You can do a search on
www.mircscripts.org for socket tutorials.
Also this forum has a
Search feature, you can search there too for examples using sockets. (don't forget to put the interval at 5 years, and put it on "all forums").
Note that socket scripting is not for the novice scripter, you need to be atleast semi-advanced in regular scripting first.