Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Trident_Tail

Pages: [1]
1
I've been writing a simple TCP Client/Server game and while both clients can send/recieve data, the first client will always run at around half the FPS as the other. Here is the code:

Client update function that is ran each frame
(click to show/hide)

And the server update function that is ran each frame also:
(click to show/hide)

Can you see any problems with this? Thanks!

EDIT: I should say that both the client and server sockets are set too non-blocking.

Pages: [1]