Skip to main content

Questions tagged [packet]

Filter by
Sorted by
Tagged with
0 votes
1 answer
165 views

I am new to networking. I am currently using C# TCP/UDP for my multiplayer Unity game. I send player movement by sending a packet with a header containing clientid assigned by the server to the client....
EndermanPVP HK's user avatar
3 votes
1 answer
105 views

I've read through Glenn Fiedler's awesome guide on Reliability over UDP and I'm currently working on my own implementation for fun and learning purposes. One pretty cool piece of Glenn's guide is that ...
sailormoon's user avatar
-1 votes
1 answer
107 views

So I'm currently developing my own protocol on top of the already existing protocol, TCP. This is what I'm thinking.. When the client connects, it's going to send a packet to the server with the ...
RileyDan's user avatar
  • 101
0 votes
1 answer
299 views

When a client first connects to the server a Diffie-Hellman key exchange occurs to securely get private encryption keys to encrypt all packets. The problem comes in: what if someone sniffing packets ...
DiscreteTomatoes's user avatar
1 vote
1 answer
121 views

I'm creating a 2D Game in Java. The world is tile based with a multidimensional Array and i have the architecture for the Server-Client system. The Users/Connections to the Clients are multithreaded ...
Jonas Re's user avatar
0 votes
0 answers
176 views

My question is relatively straightforward, but I haven't been able to find a concrete answer yet. I'm programming a real-time networked multiplayer game, and I'm finding many examples of places where ...
Grimelios's user avatar
  • 589
0 votes
1 answer
147 views

I'm making a collaborative whiteboard app so that when someone is drawing and uses a rectangle for example, a rectangle packet is sent to the server with parameters like ...
Lawrence Douglas's user avatar
-1 votes
2 answers
752 views

I'm developing a network game with node.js and I have the choice between these three options: 1) Send each point individually (very user responsive) 2) Send an update every 25 points or so (decent ...
John Smith's user avatar
2 votes
2 answers
1k views

I have been developing a server/client model for a game project I am working on. Everything works great, client side prediction works, server reconciliation works. Basically, the character can move ...
Metamist's user avatar
  • 141
1 vote
0 answers
127 views

What is the best performant solution to handle received data from socket, in a MMORPG game? Is it good to have something like: ...
Leandro Battochio's user avatar
1 vote
0 answers
56 views

In a multiplayer game, how can you be sure that the IP from a packet is the real IP? By spoofing I could send, for example, a "suicide packet" which tells the server that the owner of said packet ...
Newbe763547634's user avatar
0 votes
2 answers
324 views

For my game I decided to not encrypt my packet's payload. Instead I'm just going to check everything on the server to make sure the packet is legitimate. As I'm not doing any encryption, my packet's ...
Basaa's user avatar
  • 1,063
2 votes
1 answer
816 views

I just finished writing a packet builder that dynamically loads data into a data stream for eventual network transmission. Each builder operates by finding fields in a given class (and its ...
Matchlighter's user avatar
6 votes
1 answer
589 views

So, I've been working on a project for a while which is basically just a little 2D game. The fun/hard part is that I've been trying to make it work as a multiplayer game. Right now, the game is just a ...
Jack's user avatar
  • 63
2 votes
2 answers
4k views

I'm working on a multiplayer Flash game (ActionScript 3) with an accompanying server written in Python and I'd like some tips regarding networking, and specifically, the handling of packets and ...
toficofi's user avatar
  • 657
1 vote
2 answers
3k views

I want to know what is the logic behind server client communication through packets for a real time game. for example the server sends x packets then the client receives x packets and processes them.. ...
Trixmix's user avatar
  • 126
2 votes
2 answers
5k views

The peer to peer lockstep networking model would seem to indicate that everyone's input is delayed the same amount. And so this would indicate that everyone would feel the same lag in response to ...
user782220's user avatar
  • 1,027
6 votes
3 answers
2k views

Apparently from what I can gather Starcraft 2 moved to UDP in a patch. Now obviously with fps games there is no dispute that UDP is the only way to go. But with RTS games what benefits does UDP give ...
user782220's user avatar
  • 1,027
4 votes
2 answers
3k views

What's an elegant way to handle packet loss in a lockstep simulation peer-to-peer RTS where only player input data is sent over the network? For example, let's say it's tick 1000 and player 1 sends a ...
Nathanael Weiss's user avatar
9 votes
4 answers
568 views

Can the time it takes for a packet to be transmitted from a client to the server fluctuate?
liamzebedee's user avatar
  • 1,256