Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Patch tcl8.4.6 -> socket!

Closed / Wont Fix953920ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 22 years ago
Descriptionplain2004-05-14 12:28:56
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
aotto1968plain2004-05-14 19:28:56
File Added - 87148: socket.patch
dgp Ticket [953920ffff]: 2 changes [History diff]2004-05-14 22:57:44
andreas_kupriesplain2004-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.
Log in (anonymous is fine) to add a comment.

Attachments: