[ENet-discuss] Peer pointer lifetimes.

Lee Salzman lsalzman1 at cox.net
Mon Nov 29 17:12:27 PST 2004


More or less, yes.

On Mon, Nov 29, 2004 at 05:35:18PM +0000, Adam D. Moss wrote:
> Hi!
> Would I be right in thinking that once the app's enet_host_service()
> loop has seen a ENET_EVENT_TYPE_DISCONNECT event for a peer, all
> pointers to that peer within the app should now be treated as invalid?
> (i.e. that peer pointer may soon be reused by ENet for another
> connection?)
> 
> Thanks,
> --Adam
> -- 
> Adam D. Moss   . ,,^^   adam at gimp.org   http://www.foxbox.org/   co:3



More information about the ENet-discuss mailing list