OK I didn't get it. I still don't understand why such a cause would be visible on a customer PC and not on a similar PC in our office. That doesn't make sense to me. But I'll gather some information about any such limitation.
Reason for using Windows is that our software (a realtime 3D visualisation software) is originally based on Windows, and we had to add video streaming output for a very specific project, to replace the standard display output to monitor. Porting the whole codebase to Linux wasn't really an option to consider for that project (no money and no real need actually). ________________________________ De : live-devel <live-devel-boun...@us.live555.com> de la part de Ross Finlayson <finlay...@live555.com> Envoyé : lundi 23 janvier 2023 à 18:19 À : LIVE555 Streaming Media - development & use <live-de...@us.live555.com> Objet : Re: [Live-devel] Connection to RTSP server failing after some time > On Jan 23, 2023, at 7:41 AM, g.jaegy <g.ja...@imagine3d.fr> wrote: > > OK I keep that hint in mind as well. > > So according to the documentation I could gather, increasing that limit on > Windows seems to consist in defining FD_SETSIZE with a higher value (default > being 64) before including "Winsock2.h" header. I can easily do that in our > code. > > I assume I'll however have to add that preprocessor definition in live555 > code as well. No, FD_SETSIZE is already there. Should you modify that in a ‘winsock’ header file, you don’t need to alter the LIVE555 code; you just recompile it. But this is NOT what I was talking about when I said that perhaps "the server is running into an OS-imposed limit on the number of open sockets that a process can use”. I was referring to a limit within the Windows OS itself. You'd need to increase this limit (which may or may not have anything to do with FD_SETSIZE) within Windows itself. But why on Earth are you running serious server code on Windows? I didn’t realize anyone did that anymore. You’re unlikely to encounter this problem if you run your server on Linux or FreeBSD. Ross Finlayson Live Networks, Inc. http://www.live555.com/ _______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel
_______________________________________________ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel