>>>>> "SS" == Sebastian Sp?th <Sebastian at SSpaeth.de> writes:
SS> I recall that FProxy has been changed to take the required
SS> port number directly from freenet.ini/.reenetrc now. What
SS> about freenet_insert/freenet_request? Do these still need the
SS> port number appended to the command line or do they take the
SS> default port number as well fromm freenet.ini/.freenetrc???
Yes. Unlike the services (FProxy/FCP/XML-RPC), the command line clients
aren't in the same process as the Node. The services don't actually
-read- the port number from the config file -- when the Node starts
the services, it passes the serverAddress (including port number) to
them. So the port number only gets read once, and then gets passed
around to different parts of the same process.
SS> Then I could do away with my ugly hack, of appending the
SS> -serverAddress to the executed command line at install time.
Blech. No, I agree that there has to be an easier way to do this.
~Mr. Bad
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Mr. Bad <mr.bad at pigdog.org> | Pigdog Journal | http://pigdog.org/
freenet:MSK at SSK@u1AntQcZ81Y4c2tJKd1M87cZvPoQAge/pigdog+journal//
"Statements like this give the impression that this article was
written by a madman in a drug induced rage" -- Ben Franklin
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl