Right now, the socket's which get tracked by the server are just raw net Socket instances, while on the client, we get the nice wrapping with the ATCPClient class. It would be nice if one of three things happened:
- the ATCPClient was changed to become a superset of the net socket (right now, methods like "end" and "disconnect" aren't consistent with the builtin net package)
- the sockets tracked by the server were wrapped in something like the ATCPClient, so that they had the same interface as the clients
- Both the ATCPClient and the server-side sockets were wrapped -- this one is probably my favorite, because then we can move the session into the server-side socket's wrapper, which cleans up the code base, and makes interactions with the end-user a little nicer.
Right now, the socket's which get tracked by the server are just raw net Socket instances, while on the client, we get the nice wrapping with the ATCPClient class. It would be nice if one of three things happened: