Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Programming / Re: Networking: socket() returns positive `non-socket`
« Last post by Dave Yeo on July 06, 2025, 09:07:40 pm »
Post to the latest thread.
I'd patiently wait for a response from someone who knows this stuff. For many it is a long weekend.
Which headers are you using? Are you linking against libcx (-lcx). Also what cflags/ldflags are you using?
32
Networking / Re: Networking: socket() returns positive `non-socket`
« Last post by Dave Yeo on July 06, 2025, 09:03:07 pm »
I'd patiently wait for a response from someone who knows this stuff. For many it is a long weekend.
Which headers are you using? Are you linking against libcx (-lcx). Also what cflags/ldflags are you using?
33
Programming / Re: Qt6 Application Testing
« Last post by Remy on July 06, 2025, 04:45:29 pm »
Again, system frozen state.

Could get out doing: unplug/plugin USB wireless dongle then kill Dooble (do not exit but kill)

I've got a second time a frozen state and before killing it, I could take several theseus outputs I put into a zip file.
May it be helpfull to find the problem ?
34
Programming / Networking: socket() returns positive `non-socket`
« Last post by agena.info on July 06, 2025, 08:46:50 am »
Hello,

I am having a big problem with socket programming in C:

Every time I open a socket with:

int sock = socket(AF_INET, SOCK_STREAM, 0);

and try to bind or connect later on I get an 38 error code, claiming that these functions have been called with a non-socket (`Socket operation on non-socket`).

The result returned by socket is always a positive integer, mostly starting from 3.

I even included a call to the undocumented addsockettolist() function after opening the socket, but to no avail.

What am I doing wrong ?  I use ArcaOS 5.0.6 and Paul Smedley's GCC 4.4.6 and 8.3.0. I do not use any OS/2-specific flags like _EMX_TCPIP or TCPV40HDRS in the code (they wouldn't help anyway). Do I need to load any specific TCP/IP-related drivers during boot time other than the ones that are already included in CONFIG.SYS, or do I have to link against additional TCP/IP-specific libraries other than socket (-lsocket flag) ?

The C code that is run on ArcaOS to open, bind, connect, etc. is the very same as with Windows, Solaris, Linux, Mac OS X, where everyting works fine.

Any help would be appreciated.

Thank you,

Alex
35
Internet / Re: Dooble releases-Qt6
« Last post by Dave Yeo on July 06, 2025, 04:28:34 am »
Latest Dooble release, ftp://dry@ftp.os2voice.org/tmp/dooble-2025-07-04-Qt6.zip See help-->Release Notes for changes, all from upstream.
36
Web applications / Re: Dooble releases, Qt5 builds
« Last post by Dave Yeo on July 06, 2025, 04:27:50 am »
Latest Dooble release, ftp://dry@ftp.os2voice.org/tmp/dooble-2025-07-04-Qt5.zip See help-->Release Notes for changes, all from upstream.
37
Networking / Networking: socket() returns positive `non-socket`
« Last post by agena.info on July 05, 2025, 07:10:41 pm »
Hello,

I am having a big problem with socket programming in C:

Every time I open a socket with:

int sock = socket(AF_INET, SOCK_STREAM, 0);

and try to bind or connect later on I get an 88 error code, claiming that these functions have been called with a non-socket (`Socket operation on non-socket`).

The result returned by socket is always a positive integer, mostly starting from 3.

I even included a call to the undocumented addsockettolist() function after opening the socket, but to no avail.

What am I doing wrong ?  I use ArcaOS 5.0.6 and Paul Smedley's GCC 4.4.6 and 8.3.0.

The C code that is run on ArcaOS to open, bind, connect, etc. is the very same as with Windows, Solaris, Linux, Mac OS X, where everyting works fine.

Any help would be appreciated.

Thank you,

Alex
38
Programming / Re: Brainstorm: OS/2 on a Different Kernel
« Last post by Ian B Manners on July 05, 2025, 04:00:41 pm »
Hi jmase,

For IBM, and the world, it is not about being anti opensource but the fact the OS/2 contains propriety code from many other companies, including Apple, Amiga, Microsoft and many more that IBM has no control over the copyright to that source.

The cost and resources required for IBM to separate the code that it does own from the code that it does not outweighs any benefit IBM would get from doing so, and it would still risk accidentally releasing code it has no rights to.

IBM has been shown to be very open to open sourcing the program code that it has 100% control over including JFS. IBM has made over 400 of its patented technologies available for free to the open-source community from about 2005, there have been hiccups but overall that seems to have worked. The company has also donated entire projects to the Apache Foundation and others. IBM isn't perfect but compared to some other companies its doing ok.

We can be pushy with IBM but we also need to do it in a professional manner.
39
Programming / Re: Brainstorm: OS/2 on a Different Kernel
« Last post by jmase on July 05, 2025, 09:39:36 am »
Opinions är good  :)

You have the platform for asking IBM, established and active site!
Maybe doing a sort of press release that can be picked up on news sites so that IBM can feel a little more pressure. If they say no they do it in a public setting and risk being "anti-opensource".

OS/2 PPC is probably a better/cleaner source, they said back then there was a lot rewritten.
Maybe offer IBM a NDA for a group of people that would check out the source for possible problems.
Same here, if there are things that are owned by (for example) Adobe, would they want to be seen as "anti-opensource" for code that is like 30 years old.
40
Programming / Re: Qt6 Application Testing
« Last post by Remy on July 04, 2025, 03:07:10 pm »
Hi !

I just found something and don't know if this could be helpfull.

I used latest Dooble QT6 with latest QT6.2.x build
As often, the system get frozen (unresponsive) and had to power off/on to recover

Once again, the system got frozen but before power off/on, I tried to unplug/plugin my usb dongle used for the mouse and keyboard
and Oh !  it allowed me to use the keyboard and mouse for several seconds and frozen again and doding the same action allow me to have the hand on the system again....

What I could see:
- processor have a lot of high CPU spikes in continous (making it go into frozen state in loop interrupted by the usb mouse dongle which provides enough time to issue some commands)
- Trying to use the stop or reboot option from the xcenter will put it into a final frozen state.

During a between time of frozen state, I saw under theseus that dooble is always loaded into memory.
I could take a copy of theseus dooble process while having got mouse/keyboard back for a few seconds.

Pages: 1 2 3 [4] 5 6 ... 10