On 2019-04-26 08:54, Richard Gaskin via use-livecode wrote:
A forum user has an interesting use case involving sockets on a server
that needs to handle thousands of connections:
https://forums.livecode.com/viewtopic.php?f=8&t=32515#p179090
He's discovered that livecode/engine/src/opensslsocket.cpp sets a
limit on sockets size to 16 bits.
He's wondering if it could be raised to 32 bits.
Anyone here know why this limit exists, or know of reasons that might
make it difficult to change?
It doesn't exist, although obviously something is failing at around 4000
sockets (see my reply on the forums) and that is most likely an
unchecked system error causing havoc later on.
Just because there is a constant with a name containing SOCKET in the
engine source and the constant value is 4096 and thus around the 'limit'
which has been observed does not mean the two are related. Coincidence
not correlation :)
Warmest Regards,
Mark.
--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode