ObjFW  View Ticket

Ticket UUID: 4c4b0ddef12a21d3e532070f10a0e8302111e4dc
Title: Fix sockets on AmigaOS
Status: Closed Type: Code Defect
Severity: Critical Priority: Immediate
Subsystem: Resolution: External Bug
Last Modified: 2024-05-22 20:18:49
Version Found In: Milestone: 1.0
User Comments:
js added on 2020-12-29 23:06:25:

The tests currently just hang in -[bindToHost:port:].


js added on 2021-05-09 18:32:04:

Running the same m68k binary on MorphOS via JIT, it just works. So it might have something to do with fs-uae's bsdsocket.library after all. I should see to test this on a real Amiga, but since my Amiga needs some maintenance and currently does not have networking, this might not be possible in time for 1.0.


js added on 2023-07-30 23:15:05:

The problem seems to be that FS-UAE's bsdsocket.library's WaitSelect() ignores the timeout and waits forever. A print before WaitSelect() still works and confirms that the timeout is set to 1, but WaitSelect() never returns.

At this rate, it's unclear if this really should be a blocker for 1.0.


js added on 2023-08-01 17:26:59:

it has been confirmed that this works on a real Amiga using Roadshow. It's therefore a bug in FS-UAE / WinUAE and not in ObjFW. Closing.