Oh, well that it´s probably how it works.
I don´t understand much of the code, i have modified it a bit but that´s pretty much it.
The one i want to connect to have very low ping to me, and me to him of course.
3-4ms to be exact.
So the latency on the network level, is lower then the rest, which is why i want to keep it at a minimum.
THAT is because of DirectSound. Specifically, it sounds like you have the cooperative level set to "Exclusive" mode. Try setting it to "normal" mode instead: |
The code is, C#, forgot to meantion that.
I am trying to convert it to c++, but well, i don´t know how to implement Directsound to it.
But is c# going to limit anything in this type of application?
And to the code you were talking about.
device = new Device();
device.SetCooperativeLevel(this, CooperativeLevel.Priority);
That is the only cooperative level i have in the code.
I tried changing it, and it doesn´t make any change.
But fro what i see, it isn´t the type you are talking about.
I will try to search for information on how to add it.
Thanks