In article <50650000000800000046710000-1042324653000@exchange.ni.com>,
"Hank Walters" wrote:
> I am running the example Telnet Line Client.vi in Labview 6.1 and get
> some miscellaneous text mixed in with my replies from the host. This
> does not happen when using Labview 6.1
I don't have the TLC.vi but I'm sure all that it does is use a series of
TCP writes and reads. I wrote an email client that simply telnets to a
smtp server and sends an email message. For a basic telnet connection,
all you need is 'TCP Open Connection', a loop that accepts commands from a
user interface to send to 'TCP Write', a 'TCP Read' to see what the
server's reply was, and finally a 'TCP Close Connection' when you exit the
loop. You're literally dumping text into the
'TCP Write' primitive. Just
make sure you tack on EOL after each text string. A SMTP server provides
all kinds of cool info. Just use port 25.
You have to find a server you can practice this on, preferably a public
one or better yet, your own machine (got linux?).
- Kevin