Remember that you will not receive a ENET_EVENT_TYPE_CONNECT until the client sends the first packet.

El 02/07/2010 12:58, Nuno Silva escribió:

Try making a small loop on the client. The client may have connected but the server may not have acknowledged the client yet completely. On Fri, Jul 2, 2010 at 11:46 AM, Quang Trung Nguyen <opensky.vn <http://opensky.vn>@gmail.com <http://gmail.com>> wrote:



    ---------- Forwarded message ----------
    From: *Quang Trung Nguyen* <opensky.vn
    <http://opensky.vn>@gmail.com <http://gmail.com>>
    Date: 2010/7/2
    Subject: Enet always returns ENET_EVENT_TYPE_NONE
    To: [email protected] <mailto:[email protected]>


    Hi,

    I have a problem when trying to make a connection from client to a
    server. The client inform that the connection is established but
    nothing happens at server side. I would expect the server receives
    ENET_EVENT_TYPE_CONNECT, but it does not say anything, instead
    ENET_EVENT_TYPE_NONE. I have attached my code (extracted from
    tutorial). Anybody meets this problem before?

    Trung




    _______________________________________________
    ENet-discuss mailing list
    [email protected] <mailto:[email protected]>
    http://lists.cubik.org/mailman/listinfo/enet-discuss



_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

_______________________________________________
ENet-discuss mailing list
[email protected]
http://lists.cubik.org/mailman/listinfo/enet-discuss

Reply via email to