shervin Posted November 1, 2016 Posted November 1, 2016 Hi, Is there a ways to set ReuseSocket := rsTrue in Server Module? I am trying to merge unigui and a software to work-on/open the same port but cannot set unigui to allow ReuseSocket. Thank you. Quote
mhmda Posted November 2, 2016 Posted November 2, 2016 As a server side you can't assign two apps to listen to the same port !! beside that you have more than 65,000 ports, try to use a different port Quote
shervin Posted November 11, 2016 Author Posted November 11, 2016 Hi, thanks for reply. Indy has a property called ReuseSocket which allows it. But it is not exposed in uniserver... Quote
Administrators Farshad Mohajeri Posted November 12, 2016 Administrators Posted November 12, 2016 ResuseSocket has a different meaning. It does not allow two sockets listen on same port. 1 Quote
Ron Posted November 14, 2016 Posted November 14, 2016 Having two apps listening on the same port, on the same IP, would create a routing problem, so it is blocked by the OS. If both responds, who does first would be unpredictable, and it's meant to be a one-on-one setup like in monogamy. But you can add another network card/IP address on the same box, if that helps you. That way you can broadcast to both apps, on the same port but different IP, if that was the goal. Like having two girls, but in different rooms. You can't have two open ports in one single room...only creates problems....just common sense 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.