Aug. 26, 2009
5:20 p.m.
Philippe Marschall wrote:
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.
And we find a solution for SocksSocket which is of course a subclass of Socket. Cheers Philippe