How to access Telnet Port - please help

Mark Wieder mwieder at ahsoftware.net
Mon Nov 8 19:31:41 CST 2004


Niva-

Monday, November 8, 2004, 4:09:14 PM, Sarah wrote:

SR> You need to open a socket, after which you can write to the socket &
SR> read from it, finishing by closing the socket. If you have a look at
SR> the POP library on my web page, you will see how I have down it. I use
SR> the POP port (110) but the same sort of script should be able to 
SR> connect to any port.

Although note that port 21 is designated for ftp. If you really want
to handle ftp transactions in runrev, there are better and easier
methods than opening a socket for a telnet session and hand-crafting
the whole protocol yourself.

-- 
-Mark Wieder
 mwieder at ahsoftware.net



More information about the use-livecode mailing list