Search found 3 matches

by Fuzzle
Fri Jun 18, 2010 7:48 pm
Forum: Game Programming
Topic: Game networking
Replies: 8
Views: 5125

Re: Game networking

Yeah, I'm already sending and receiving until my "package" is complete (checking how many bytes are actually received/sent, delay and so on) and the client identification is added at the server (in use of the connection ids). The threads, I will try without them..
by Fuzzle
Fri Jun 18, 2010 7:08 pm
Forum: Game Programming
Topic: Game networking
Replies: 8
Views: 5125

Re: Game networking

Ok, I must admit I'm not as good in programming as you think, I don't know anything about using an other implementation and about TCP sockets. I'm using the standard network library and I'm only talking of "packets" because I always send blocks of 10 bytes (+1 added at server for client ...
by Fuzzle
Fri Jun 18, 2010 3:25 pm
Forum: Game Programming
Topic: Game networking
Replies: 8
Views: 5125

Game networking

Hi there,

I got some problems with creating a multiplayer game. My server creates a thread for every connected client which waits until a packet is received and then sends it to all of the other clients. I also added ping. When doing nothing, I got a ping of ~90ms (with a friend hosting the server ...