in reply to buggy chat app
The reason I say this, is that if you intend to run your chat on the open internet, you probably need port-password-protection and some encryption.