Tcl Source Code

View Ticket
Login
Ticket UUID: 953920
Title: Patch tcl8.4.6 -> socket!
Type: Patch Version: None
Submitter: aotto1968 Created on: 2004-05-14 12:28:56
Subsystem: 27. Channel Types Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-07-17 01:40:46
Resolution: Wont Fix Closed By: andreas_kupries
    Closed on: 2004-07-16 18:40:46
Description:
Hi, 
 
  problem: on my linux-box the socket.test was very slow and 
  a couple of tests even fail ... 
 
  reason: TcpGetOptionProc -> optionName=-sockname -> gethostbyaddr 
          this is a system function and doing some name-resolution  
          stuff and hangs!! if the server (example: socket -server  
          accept 0) was started without "-myaddr" argument 
 
  solution: I update the socket.test file to add needed -myaddr 
            arguments 
 
 
mfg 
 
  aotto
User Comments: andreas_kupries added on 2004-07-17 01:40:46:
Logged In: YES 
user_id=75003

This does sound a bit like a misconfiguration of the name
resolution on that machine. Looking at the patch I see that
the IP address used 127.0.0.1, ie. the standard loopback.
This confirms my belief that there is a misconfiguration of
the host itself.

I do believe that a correctly configured machine is
something we can assume in the testsuite.

aotto1968 added on 2004-05-14 19:28:56:

File Added - 87148: socket.patch

Attachments: