I left out the $sockname on one line, once you correct that you should receive a response (I tested it this time).

Code:
sockwrite -n $sockname $crlf