<div>Hey all, I&#39;m almost finished with my networking now.. and I&#39;m loving it!</div>
<div>&nbsp;</div>
<div>I have a few questions though:</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>1) When correcting for lag, should I use roundTripTime, or lastRoundTripTime? For example.. a bullet is fired on the server and sent to the client, and I want the client to extrapolate it forwards by half the roundTripTime, so it matches up with where it actually is in the server. Would I be better doing:</div>

<div><br>bullet.position += bullet.velocity*(peer.roundTripTime/2000.0);</div>
<div>OR</div>
<div>bullet.position += bullet.velocity*(peer.lastRoundTripTime/2000.0);</div>
<div>&nbsp;</div>
<div>2) When sending out packets from the server to the clients.. Should&nbsp;I try bunch as much data into a single packet as possible? At the moment, Every timestep (10 times per second), I&#39;m sending out all the necessary data in a single packet. For each client, this packet is about 600bytes on average. Is this too large? Are there any general principles I should be aware of? I know that I save bandwidth on header information if I send it all in just 1 packet. But does the increased size slow the time it takes to arrive? Or perhaps it makes it less likely to arrive? In that case, would it be better for me to separate the information? Also, how large&nbsp;are the combined headers of Enet and UDP per packet?</div>

<div>&nbsp;</div>
<div>3) I can connect to my computer, and other computers in my house via LAN.. but not to my friend&#39;s computer over the net.&nbsp;Is this because I&#39;m using a router? Also, how do I find out what IP to search for if I want to play with my friend online?</div>

<div>&nbsp;</div>
<div>Thanks! Ben.</div>