Hi, With this code, the ConnectionTimedOut exception is never handled:
| socket data | socket := Socket newUDP. socket setPort: 51284. socket waitForDataFor: 5. data := ByteArray new: 100. [[socket receiveUDPDataInto: data] on: Error do: ['Catched error, closing socket' crLog. socket closeAndDestroy]] ensure: [ 'Closing socket' crLog. socket closeAndDestroy] Any reason it does not work? In Pharo I see several examples using ifCurtailed. Hilaire -- Dr. Geo http://drgeo.eu