Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

[ENet] Problem establishing connection

$
0
0
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

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>