tcp: TcpSocketBase cannot be subclassed
The ability to make different TCP socket types that inherit from class TcpSocket and that plug into TcpL4Protocol using a factory object has been lost over time. Some discussion on ns-developers is linked here.
Jayesh provided a patch, uploaded here: TcpL4Protocol.diff
The patch seems like a reasonable start that would not affect backward compatibility.
Edited by Tom Henderson