The tnet_msg_poll function polls the upper-layer user application for unsolicited messages. The Telnet session handle identified with parameter session can be used to identify the remote host when several Telnet connections are active at the same time. If this function returns __TRUE a telnet callback function is called immediatelly to get the message. |