07-08-2016, 11:26 AM
(06-29-2016, 06:41 PM)ayalx Wrote: MangaD:
Awesome, your CPP version looks great![]()
I added your version and your Linux guide to the topic.
BTW, your version doesn't include the changes made in 2.01, but most of them are improvements for the ping command so it is not very important.
Zelphir:
Multiserver 1 binds only the "most suitable network interface" (according to MSDN).
And it makes problems, if you want for example to connect from Hamachi and from your real address with port forwarding.
So Multiserver 2 explicitly binds all the network interfaces of the computer.
It works smoothly for Windows, but according to your post seems that it doesn't work well for Linux.
I only noticed this post now!
![>_> >_>](https://lf-empire.de/forum/images/smilies/weirdface.png)
First of all, thank you.
![:) :)](https://lf-empire.de/forum/images/smilies/smile.gif)
I started working on the translation to C++ before you released the source (used dotPeek to decompile). I had the ping command working as in your first version, but with the same problems. I was trying to solve the issue with asynchronous programming but postponed the project (will resume it later this month). I downloaded the source of your new version and will update with the changes when I get to it. This CPP version contains very few differences to the original (e.g. doesn't quit if port is in use, rather asks the user to close any programs using it).
The socket library that I am using also binds to IPv6 if available (with IPv4 compatibility). If not, it only binds to IPv4.
MultiServer is a wonderful program, thank you very much for creating it!
![:D :D](https://lf-empire.de/forum/images/smilies/biggrin.gif)