W dniu 22.09.2010 16:36, Doug Coleman pisze: > Hi, > > I recently made it a requirement that a server either start on all the ports > specified or none of them. The server code attempts to bind to and > immediately close an ipv6 port, and if it's successful, a server will also > bind ipv6. Binding the same port on ipv4 and ipv6 shouldn't be a problem > because they're separate from each other. > > You might be trying to run several servers with a "secure" slot set, as this > is enabled by default in some cases. You can debug it further with the > ''servers.'' word. Please let me know if you figure out the problem! > > ( scratchpad ) 9999 httpd servers. > === http.server > 0:0:0:0:0:ffff:0:0:9999 > 0.0.0.0:9999 > > Thanks, > Doug
Hi, I tried to walk through the code (in the walker) but it was so painful (lot's of curries and such) that I gave up. Experimentally, I've removed ip4 address from the addresses list produced by "listen-on" in "set-servers" and it also worked - the server is up and running and listening on ip6 port. So, there's an issue with concurrent threads. listening on separate address spaces. My knowledge here reached its limits - I've never been keen on such "low level" system programming ;) D.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
