Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ed786d5b7e06547a5aad16b7866fdc8e4841fcd9
Ticket: 1962217fffffffffffffffffffffffffffffffff
dns resolver problem
User & Date: wapinski on 2008-05-20 04:55:40
Changes

  1. icomment:
    Logged In: YES 
    user_id=2091947
    Originator: NO
    
    my observations:
    
    with nothreaded interpreter:
    
    set hostip [lindex [fconfigure $channel -peername] 0] returns client(host) IP
    set hostname [lindex [fconfigure $channel -peername] 1] returns client(host) NAME (from DNS or /etc/hosts)
    set hostport [lindex [fconfigure $channel -peername] 2] returns client(host) PORT
    
    but with threaded interpreter "fconfigure -peername" returns good client IP, NAME and PORT doesn't exists (!).
    
    Darek. [email protected]
    
    
    
    
  2. login: "wapinski"
  3. mimetype: "text/plain"
  4. username: "wapinski"