This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [SOLVED] Re: other services ok, ftp not (was 1.5.11 - tcp problems)


Brian Dessent wrote:

Carlo Florendo wrote:



On a curious note, why do the inetutils apps like ftp, telnet, etc.
still use getservbyname() and the other getserv functions when, as you
said,
these apps could just have the port and protocol hardcoded or specified
in a config file?



As far as I know that traces back to the original TCP/IP networking code
in unix, 4.2BSD circa 1983 from what a quick google shows. Back then
things were a lot simpler and I suppose it was more straightforward to
have one config file that defined all the services the box was running
and what ports they were to listen on, and to have each daemon query
that file through getservbyname(). As far as I know the tools in
inetutils are the direct descendents of the original BSD commands from
way back, so the code still uses those methods.


Great info.

Thank you very much.

Best Regards,

Carlo

--
Carlo Florendo
Astra Philippipnes Inc,
www.astra.ph


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]