Classes, methods, and sockets, like a grownup.