Hi, I'm hosting a webbrowser in a desktop application along with the mongoose webserver on Windows. I cannot use a fixed port as this would cause conflicts when running multiple instances of application, each must use a different port. I've modified mongoose sources, so that function is_valid_port() allows for port 0. It works fine, webserver runs, I check with netstat -a -b and it generates a random free port each time. The question is how can I now get know this port? What would be the code? Much thanks for help in this matter. Thanks for this awesome project.
Best regards, Czarek -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
