[Opentnl-general] Packets getting delayed
Brought to you by:
mark_frohnmayer,
s_alanet
From: Benjamin R. <bro...@cy...> - 2005-10-26 12:32:32
|
Hi, I'm currently working on a client-server architecture for a game. My clients are supposed to send their inputs to the server, and the server then sends it back to all other clients. I don't care about short-circuit for the moment. Every 50 ms, the client posts 5 netevents (unguaranteed ) to the connection to the server. Each time I pack a netevent, I pack about 32 bytes of data. My processConnections et CheckIncomingPackets are called on the OnIdle() of my application. The thing is, my server receives packets more and more delayed ( time difference between input timestamp, and world current time: at the begginning, a difference of 0.7s, which is always growing, whereas it should be constant, and about the value of the ping). I am working with 2 computers on a LAN. I suspect I don't use setFixedParameters correctly. The default values just don't seem to fit my needs. Any ideas, people having similar problems ? Thanks Ben |