Christoph Thiede uploaded a new version of Nebraska to project The Inbox: http://source.squeak.org/inbox/Nebraska-ct.63.mcz
==================== Summary ====================
Name: Nebraska-ct.63 Author: ct Time: 26 December 2023, 6:21:39.784645 pm UUID: d062e798-696e-1b4b-a12c-4ab30556e670 Ancestors: Nebraska-dtl.61
Gently handles refused peer-to-peer connections, such as when sending an object from the client to the host.
=============== Diff against Nebraska-dtl.61 ===============
Item was changed: ----- Method: NebraskaPeerToPeer>>doConnectForSend (in category 'sending') ----- doConnectForSend
| addr port |
addr := NetNameResolver addressForName: (ipAddress copyUpTo: $:). addr ifNil: [ communicatorMorph commResult: {#message -> ('could not find ',ipAddress)}. ^false].
port := (ipAddress copyAfter: $:) asInteger. port ifNil: [port := self class eToyCommunicationsPorts first].
socket connectNonBlockingTo: addr port: port. [socket waitForConnectionFor: 15] + on: ConnectionRefused , ConnectionTimedOut - on: ConnectionTimedOut do: [:ex | communicatorMorph commResult: {#message -> ('no connection to ',ipAddress,' (', ipAddress,')')}. ^false]. ^true
!
squeak-dev@lists.squeakfoundation.org