Re: [boost] [asio] new resolver query with numeric ports
            
            
            
                18 Aug
                
                    2006
                
            
            
                18 Aug
                
                '06
                
            
            
            
        
    
                3:03 a.m.
            
        Hi Chris, christopher baus <christopher@baus.net> wrote:
Then I tried:
ip::tcp::resolver::query query("foobar.com", "");
But that failed.
The getaddrinfo() function allows for the service string to be null, but there doesn't seem to be a way to achieve that with the asio interface (again unless I'm missing something).
That needs to be fixed. Thanks for pointing it out. For now you could use: ip::tcp::resolver::query query("foobar.com", "0"); instead to get the same effect. Cheers, Chris
        7018
        
      
          Age (days ago)
        
      
        7018
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                
Christopher Kohlhoff