comp.lang.tcl
[Top] [All Lists]

socket question

Subject: socket question
From: Stuart
Date: Fri, 30 May 2008 01:36:46 -0700 PDT
Newsgroups: comp.lang.tcl


Perhaps somebody can help me understand this behavior..

 On host1  inside the tcl shell I type

 set s [socket -async  host1 19000]

I get an error "couldn't open socket: connection refused". This I
expected
as I have no server listening on host1:19000

 On host2  inside the tcl shell I type

set s [socket -async  host1 19000]

and I get "sock5". There is still no server listening on host1:19000,
and so I'm
wondering why on host2 I don't get the "couldn't open socket:
connection refused" message?

Thanks in advance,

  Stuart

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy