On macOS High Sierra 10.13.6 in 32-bit and 64-bit: If NetNameResolver useOldNetwork == false then only 1 SocketTest test passes, 2 fail and 11 raise errors. The plugin reports connect errors, one for each error: sqConnectToAddressSize: Address family not supported by protocol family If NetNameResolver useOldNetwork == true then only one test passes and there are 13 failures. Many (all?) fail with waitForConnectionFor:ifTimedOut:ifRefused: timing out. — |
When using new network, the tests use an IPv6-based localhost address for binding and connecting. The local socket is opened in setUp
listenerSocket := Socket newTCP listenOn: self listenerPort backlogSize: 4 interface: self listenerAddress. The ^ NetNameResolver addressForName: 'localhost' In However, the Socket is created as newTCP
"Create a socket and initialise it for TCP"
^self newTCP: SocketAddressInformation addressFamilyINET4 This is bad. This is where the Error message comes from. This should be changed to use the address familty that fits best to the current old/new-network. On top of that, The correct way is to use the indirection of Things to do:
— |
In reply to this post by David T Lewis
Closed #428. — |
In reply to this post by David T Lewis
wait, this is fixed? — |
In reply to this post by David T Lewis
Oops. I was over optimistic. I assumed that Levente'se poll change applied to Mac. It doesn't. Mac needs kqueue. I'm reopening. — |
In reply to this post by David T Lewis
Reopened #428. — |
In reply to this post by David T Lewis
marvelous :D — |
Free forum by Nabble | Edit this page |