ps,a udp packet is made when call 'enet_socket_send' . 2012/8/7 JiangHao <[email protected]>
> hi, > i have posted a mail about the flow of send data,and i know the flow > of send data. > If I'm not mistaken,the enet put a batch of the current peer's > commands into host->buffer array,and call 'enet_socket_send' > that's means a udp packet contain a batch of commands,and the command > is made when we send some data to peer or something else.these commands > aways has a reliable sequence number witch is used in the reliability of > the udp realization. > you know, if a udp packet' size is too large,the udp packet will be > divided into multiple IP packet, and for the receiver ,the UDP packet may > be dropped if some IP packets is lost. this means that a batch of the > commands may be dropped and enet will have to resend these command. > I want to know why each command put in a UDP packet ,avoid a batch of > the command the possibility of loss. > > > >
_______________________________________________ ENet-discuss mailing list [email protected] http://lists.cubik.org/mailman/listinfo/enet-discuss
