<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Can someone please tell me why the following code will not work? The send function is just an abstraction for ease of use. basically the first argument tells enet to broadcast, the bools at the end are for flags, in this case we are asking for sequenced only (not reliable).<br>Both of these calls occur in the same "frame" or update() call. The problem is my client only gets the last message with the value of 3 for the number of entities? Any help here would be greatly appreciated - Richard<br><br>&nbsp;&nbsp;&nbsp; m_EntityUpdate.uiNumEntities = 5;<br>&nbsp;&nbsp;&nbsp; SendPacket(-1, &amp;m_EntityUpdate, sizeof(tServerEntityUpdate), CHANNEL_WORLD_UPDATE, false, true, false);<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; m_EntityUpdate.uiNumEntities = 3;<br>&nbsp;&nbsp;&nbsp; SendPacket(-1, &amp;m_EntityUpdate, sizeof(tServerEntityUpdate), CHANNEL_WORLD_UPDATE, false, true, false);<br><br><br>                                               </body>
</html>