diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-05-06 07:42:59 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-05-06 07:42:59 +0000 |
| commit | d05d8bbddc505a0117010dd05da4d9b89c0c728f (patch) | |
| tree | 116243ba6b724c5784b0352b401db1d8fc2bdb83 /test/RarestPieceSelectorTest.cc | |
| parent | 47b08786eb458f709377871dae5c83fe3b7e5b0d (diff) | |
2009-05-06 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Added static member _protocolFamily to SocketCore. By default,
SocketCore uses AF_UNSPEC for getaddrinfo hints to resolve
address. Sometime SocketCore::bind() and
SocketCore::establishConnection() use difference protocl family
and latter cannot connect to former. To avoid this situation, we
limit protocol family to AF_INET for unit tests.
* src/SocketCore.cc
* src/SocketCore.h
* test/AllTest.cc
Diffstat (limited to 'test/RarestPieceSelectorTest.cc')
0 files changed, 0 insertions, 0 deletions
