I have had no motivation to debug the j-uae bsdsocket.library code any further, so I decided to do something else:

I compiled P-UAE 2.6.0 for AROS and after some minor changes to the code (and some bigger problems with configure), I reached the point, where it opens a window :).

It was compiled with the SDL backend and a gtk-mui GUI, so not much actual porting work.

Now comes the boring part again.. debugging.. let's see, if I find some motivation this time.