0 Replies - 198 Views - Last Post: 18 January 2013 - 04:47 AM Rate Topic: -----

#1 Lycake  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 18-January 13

[ENet] Problem establishing connection

Posted 18 January 2013 - 04:47 AM

Hello dreamincode!

I started playing around with ENet but got a problem. Most part of my code is from the http://enet.bespin.org/Tutorial.html tutorial. If I start the host and then the client, the client will tell me that I established a connection successfully but the host itself does not get any events or other signs of a successfull connection. Shouldn't the host get an ENET_EVENT_TYPE_CONNECT event aswell if a client connects? How can it be that the connection is successfull whithout the knowledge of the host?

Here's my code:

Client: http://pastebin.com/2ijhXsAN

Host: http://pastebin.com/MavvTd7Q

Every kind of help is appreciated.

Thanks a lot,
Cake

Is This A Good Question/Topic? 0
  • +

Page 1 of 1