I've set up a basic socket server/client script - hope to somehow implement it in website, and have seen that it's possible to do app to app?
anyway, can't seem to prevent user from crashing the server or client if they enter a blank message (ie. hit return without entering any text/data). Is there an easy way to prevent this?