[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: getservbyname and getservbyport



On Fri, 2001-07-27 at 05:27, Danie Roux wrote:
> If I was to change
> 
> sp = getservbyname ("ftp", "tcp");
> 
> to 
> 
> sp = getservbyport (21, "tcp");
> 
> It should work right? Because it isn't. And I need this to work for a boot
> stiffy I'm building.

Does quoting the 21 help at all?

--mike



Reply to: