~ubuntu-branches/ubuntu/oneiric/zeromq/oneiric

« back to all changes in this revision

Viewing changes to src/ip.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Martin Lucina
  • Date: 2010-09-08 15:25:45 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100908152545-8rfaoyw289tk5vaf
Tags: 2.0.9.dfsg-1
* New upstream version. 
* Move all manpages in libzmq0 to zeromq-dev package (closes: #595890) 
* Updated to standards version 3.9.1.
* Add lintian-overrides for spelling-error-in-copyright due to error in
  upstream license of xmlParser.
* Use Breaks: instead of Conflicts: in zeromq-bin package, fixes 
  conflicts-with-version from lintian.
* Various other minor fixes for warnings from lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
289
289
    //  doesn't really matter, since it's not included in the addr-output.
290
290
    req.ai_socktype = SOCK_STREAM;
291
291
    
292
 
    //  Avoid named services due to unclear socktype, and don't pick IPv4
293
 
    //  addresses if we don't have a local IPv4 address configured.
294
 
    //  If this is failing for you on a host with only IPv6 connectivity,
295
 
    //  please contribute proper IPv6 support for all functions in this file.
296
 
    req.ai_flags = AI_NUMERICSERV | AI_ADDRCONFIG;
 
292
    //  Avoid named services due to unclear socktype.
 
293
    req.ai_flags = AI_NUMERICSERV;
297
294
 
298
295
    //  Resolve host name. Some of the error info is lost in case of error,
299
296
    //  however, there's no way to report EAI errors via errno.