Search found 44 matches

by Luke1410
Mon Feb 05, 2018 7:45 am
Forum: SLikeNet - Support
Topic: Integrating NATPunchSamples into external projects
Replies: 3
Views: 31955

Re: Integrating NATPunchSamples into external projects

@1 To clarify: If you are using SLikeNet/RakNet's NAT punchthrough technique, you also need to direct the traffic through SLikeNet/RakNet. Other applications won't be able to connect by themselves just because you successfully established a connection using NAT punchthrough with SLikeNet/RakNet. @2 ...
by Luke1410
Wed Jan 31, 2018 6:23 pm
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

I'm glad all is working for you now and wish you good luck with your project. Don't hesitate to post any further questions/issues you might run into.
by Luke1410
Mon Jan 29, 2018 11:38 pm
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

If the logs you provided there are accurate then it seems as if you entered the wrong GUID of the listening client when setting up the "other client". The Listening client reported its GUID to be: 67555774598987172 According to the log in the "other client" you entered: 1076360901365999200 Regarding...
by Luke1410
Sun Jan 28, 2018 11:12 pm
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

So it seems as if you successfully run the NATPunchthrough server and the client can also successfully establish a connection to the server. The error you are getting (ID_NET_TARGET_NOT_CONNECTED) suggests that the target you are setting in the client to pass the data through by the server didn't co...
by Luke1410
Fri Jan 26, 2018 2:05 am
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

From the netstat output you sent me I would conclude that everything seems to work fine. The port is open (see line 6 in the output you sent me). Did you actually try to connect a NATCompleteClient to the server? In case you wanna give a native Linux binary a try, I just fixed the build issues of th...
by Luke1410
Fri Jan 26, 2018 12:00 am
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

I did several detailed test runs over the day. As far as my tests go everything seems to work with the NATCompleteServer sample in all of my test environments which is: - Windows 10 1709 (64-bit) - Windows 10 1703 (64-bit) - Ubuntu 16.04 (32-bit) - Ubuntu 14.04 (64-bit) Let's tackle your issue from ...
by Luke1410
Thu Jan 25, 2018 9:26 am
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

We did a quick test run on Windows and the sample basically worked there.

If you have the same issue running it on a normal Linux instance, I'll dig into this some time tonight quickly to see if I can reproduce the issue locally.
by Luke1410
Wed Jan 24, 2018 9:53 pm
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

This is weird. I don't have an immediate other idea at hand. Looks like I'll have to test this on the cloud instance myself. I try to get this squeezed in at some point (atm we are busy putting together the 0.1.1 release). I'll get back to you once I have further information.
by Luke1410
Tue Jan 23, 2018 10:57 pm
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

This is actually correct. Pass that name to the call to getaddrinfo(). It'll return a linked list of addresses. I'm curious whether this list actually contains any IPv4 other than the localhost ones (the output you are getting from the NATCompleteServer sample suggest it doesn't). Could it be that y...
by Luke1410
Tue Jan 23, 2018 1:10 am
Forum: SLikeNet - Support
Topic: Cannot build NATCompleteServer using CMake
Replies: 22
Views: 90868

Re: Cannot build NATCompleteServer using CMake

This might be an issue/limitation of the cloud server you are running into there. Can you check/verify the returned hostname from gethostname(). I guess this doesn't return the correct one and when getaddrinfo() is called to resolve the hostname, the wrong IP addresses are retrieved. If this is true...