SFML community forums
General => Feature requests => Topic started by: e_barroga on October 16, 2009, 01:08:59 am
-
It doesn't seem like SFML has a method that allows to disable/enable the nagle algorithm.
-
True.
What would you need to enable/disable it for?
-
What would you need to enable/disable it for?
Enhance responsiveness. At least this is one of the common reason, why people disable the nagle algorithm.
Especially in a real time multiplayer game it can be usefull to disable the nagle algorithm, so the actions are sent immediatly over the net and there occurs no or less lag.
-
Ok, I should have say it differently: why would you want to enable it? SFML disables it by default.
-
Ok, I should have say it differently: why would you want to enable it? SFML disables it by default.
Honestly, I've never used nagle algorithm, however, I still think that people should have the option to enable it if they deem fit.
It is really only useful for congestion problems, which shouldn't be too much of a problem with today's technology, but there are always those certain cases.
-
So I'll wait until someone actually needs it. I don't really like adding a feature that "might be useful to someone some day" ;)
-
I need it.
-
I need it.
Please explain us why.
-
OK, so I right now only because of this I can't work with SFML:
so the server side only is SFML, the client is not and there I can disable nagle but I need it with the server also. The reason is that this server is for MMO game. And in my game, I'm sending 60 messages in 1 second to each client (60 FPS). And so it gives me a lot of troubles, I must disable nagle because it is much better for me.
Can you please explain me how to disable it? There's gotta be a way.
The thing is that I must disable it ASAP. I have a schedule that I must work with.
Thanks.
-
Ok I see.
First:
Ok, I should have say it differently: why would you want to enable it? SFML disables it by default.
And secondly, I explain why it's not a solution for you in the dedicated topic.