MS Comm input



Hi all,
I have a machine (switch or router) connected to my COM port.
I need to get the input from that machine, such as the hostname, or any
other character.
I want to WAIT for that character.
How do i do it?

thanks!

.