Aug. 26, 2009
5:15 p.m.
Lukas Renggli wrote:
TCP sockets and UDP sockets have a different interface. Some messages can only be sent to TCP sockets others only to UDP sockets. Yet they are both represented by the same Socket class.
That sounds like a really easy and backward compatible refactoring (add two subclasses, fix the constructors, and push down methods). Why don't you submit a patch?
Yeah if it's as simple as that and it doesn't break any plugin or stuff. Cheers Philippe