On Thu, 23 Aug 2001 "Matthew 'Fringe' Duhan" <[EMAIL PROTECTED]> wrote:
> 
> Hello again.
> Thanks to the folks who e-mailed me about my telnet app. Unfortunately, I'm
> stuck and cannot seem to figure out what I'm doing wrong. I've tried
> checking the archives but there doesn't seem to be any past articles on the
> topic. I've gotten to the point where I can open a socket and connect to an
> IP and port. I've got a handler that loops to read the incoming text from
> the server. I know that this works because I can receive the multi-line
> welcome message when I connect. Unfortunately, I cannot seem to write to the
> socket at all, and eventually the connection times out (I can see this
> message as well so the read is still working). I'm getting quite frustrated.
> As I said, I'm new to HyperTalk/*Card programming so perhaps I have the
> handlers in the wrong place or something, though I've tried them in
> different objects.

More likely you're just doing the terminal-type negotiation
wrong. It's pretty tricky as Internet protocols go because unlike most
of them it's not done using human-readable strings.

Not to take anything away if this is something you *want* to do to
learn how sockets work, but I wrote a pretty serviceable telnet client
about 6 months ago that I'd be happy to send to anyone that wants it.
Kevin also has it and I seem to recall seeing it on one of the archive
sites someplace.
  Regards,
    Scott

> Matt
> @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
> Matthew Duhan    [EMAIL PROTECTED]     http://shell2.primushost.com/~fringe
> When I want my opinions I'll ask me for them.
> WWW, HTML, VR, MOO, HRSFA, TMBG, DNA--any more initials and I'll go insane
> Imagination is the only weapon we have in the war against reality.

********************************************************
Scott Raney  [EMAIL PROTECTED]  http://www.metacard.com
MetaCard: You know, there's an easier way to do that...

Reply via email to