[ENet-discuss] Problems getting ENet to work on Solaris

Brian Hook hook_l at pyrogon.com
Sun Sep 14 10:55:24 PDT 2003


This is probably a philosophical thing, but I would recommend that 
various checks in the library code be made with appropriate error 
codes and assertions (if they're not done already).

If anything, it can reduce support calls =)

-Hook

On Sun, 14 Sep 2003 00:30:37 -0400, Lee Salzman wrote:
> One problem I see is you are trying to send a packet over channel
> 3, but have only created 2 channels in the connect. If you create 2
> channels, these will be numbered 0 and 1, so channel 3 is only
> available if you specify that 4 channels are to be allocated. This
> is most likely going to cause a crash in the client.
>
> You should also ensure that a connect event is actually received
> before sending out packets on the client peer. It may possibly
> return a disconnect event if the connect fails.
>
> Lee
>





More information about the ENet-discuss mailing list