Yes, that would do the trick. I am sold on a TcpMessages class, as it will be clear that calling connect gives a message and does not do the connect itself.