use tcpserver if present