If you just have netcat connect to a service directly, it functions exactly like telnet.