Issue 6: Robustness issues
Status:  New
Owner: ----
Reported by den.kov...@gmail.com, Sep 18, 2010
What steps will reproduce the problem?

mslisten, msaccept or msconnect returns -1.
Every ms command that takes a socket should check for socket==-1, otherwise matlab crashes badly. In fact, every command should be able to handle any wrong socket values.