[ENet-discuss] client-server doesn't work

Danny Angelo danny.cabelo at gmail.com
Thu Dec 13 10:26:40 PST 2007

I already asked this here before and got no answer, but I was able to get it
working, forcing the client to send a packet on connection. When the client
sends the packet, the server will receive the connection event, but I was
not able to make the server actually read that packet contents.

If you get it working, please PM me about your solution.

On Dec 13, 2007 10:44 AM, Shawn Yarbrough <shawnyar217 at yahoo.com> wrote:

> Hi,
> This is my first try with ENet, enet-1.1 stable release, on Linux.
> My client-server ENet test programs aren't working as expected.  The
> client connects to the server and sees a connection event, but the server
> never sees the connection event.
> I've included sample runs and code below.  If I'm doing something
> boneheaded, I was hoping somebody could point out my mistake.
> Also I was looking thru the ENet source code trying to understand it.  It
> looks like the UNIX accept() function is never called, or actually it is
> called by enet_socket_accept(), but then enet_socket_accept() is never
> called.  I assume I'm missing something.  I'm not supposed to call the ENet
> socket functions myself, am I?  The tutorial doesn't mention them at all.
> Regards,
> Shawn Yarbrough


Animal Liberation Frontline.
Art.32  Lei Federal 9.605/98.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.cubik.org/pipermail/enet-discuss/attachments/20071213/d49062b0/attachment-0001.htm 

More information about the ENet-discuss mailing list