Re: How can I translate IP to hostname in C

2008-05-22 Thread Oliver Fromme
Bjoern A. Zeeb wrote: > John Timony wrote: > > I am writing a c program in FreeBSD,and I can not > > translate a ip to hostname > > ,i wonder if there is a function to take this job... > > You mean like gethostbyaddr()? gethostbyaddr() is considered obsolete, I think. You should use getaddr

Re: libz.so no found

2008-05-22 Thread KAYVEN RIESE
On Thu, 22 May 2008, Bert JW Regeer wrote: On May 22, 2008, at 10:19 , KAYVEN RIESE wrote: On Wed, 21 May 2008, Jeremy Chadwick wrote: On Wed, May 21, 2008 at 10:13:43PM -0700, KAYVEN RIESE wrote: i don't know wtf you are talking about these are all my threads. You clicked reply, or someth

Re: How can I translate IP to hostname in C

2008-05-22 Thread Bernd Walter
On Thu, May 22, 2008 at 07:30:45PM +0100, Bruce Cran wrote: > John Timony wrote: > >Hi,guys > > > >I am writing a c program in FreeBSD,and I can not > >translate a ip to hostname > >,i wonder if there is a function to take this job... > > > > You could use gethostbyaddr(3), but those traditional f

Re: How can I translate IP to hostname in C

2008-05-22 Thread Bernd Walter
On Thu, May 22, 2008 at 04:14:46PM +, Bjoern A. Zeeb wrote: > On Thu, 22 May 2008, John Timony wrote: > > Hi, > > >I am writing a c program in FreeBSD,and I can not > >translate a ip to hostname > >,i wonder if there is a function to take this job... > > You mean like gethostbyaddr()? > > S

Re: How can I translate IP to hostname in C

2008-05-22 Thread Bruce Cran
John Timony wrote: Hi,guys I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... You could use gethostbyaddr(3), but those traditional functions have been replaced with more flexible versions such as getnameinfo(3) o

Re: libz.so no found

2008-05-22 Thread Bert JW Regeer
On May 22, 2008, at 10:19 , KAYVEN RIESE wrote: On Wed, 21 May 2008, Jeremy Chadwick wrote: On Wed, May 21, 2008 at 10:13:43PM -0700, KAYVEN RIESE wrote: kv_bsd#cd /usr/ports/distfiles kv_bsd#mv /usr/home/kayve/Nessus-3.2.0-fbsd7.tbz . kv_bsd#pkg_add Nessus-3.2.0-fbsd7.tbz You are running

Re: libz.so no found

2008-05-22 Thread KAYVEN RIESE
On Wed, 21 May 2008, Jeremy Chadwick wrote: On Wed, May 21, 2008 at 10:13:43PM -0700, KAYVEN RIESE wrote: kv_bsd#cd /usr/ports/distfiles kv_bsd#mv /usr/home/kayve/Nessus-3.2.0-fbsd7.tbz . kv_bsd#pkg_add Nessus-3.2.0-fbsd7.tbz pkg_add: package VisualOS-1.0.5_3 has no origin recorded /libexec/ld-

ATA patch for RELENG_6

2008-05-22 Thread Sean Bruno
I got this patch a while ago and I don't see it appearing in RELENG_6 yet. Can someone "sheperd" this along or point out why it's not acceptable? This patch was generated by a failure to boot correctly off of a compact flash IDE module from Transcend. Index: dev/ata/ata-chipset.c ===

Re: How can I translate IP to hostname in C

2008-05-22 Thread Bjoern A. Zeeb
On Thu, 22 May 2008, John Timony wrote: Hi, I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... You mean like gethostbyaddr()? See also http://www.unixguide.net/network/socketfaq/2.24.shtml for further inspiration

How can I translate IP to hostname in C

2008-05-22 Thread John Timony
Hi,guys I am writing a c program in FreeBSD,and I can not translate a ip to hostname ,i wonder if there is a function to take this job... s.o.s -Fabonacc ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/

Re: Maximum memory allocation per process

2008-05-22 Thread Jeremy Chadwick
On Thu, May 22, 2008 at 11:00:37PM +1000, Adrian Thearle wrote: > I have a problem with a perl script running out of memory. From my googling > I have found that perl itself does not seem to impose any memory limits, > and I have check ulimit and login.conf for any userclass limitations but > fo

Maximum memory allocation per process

2008-05-22 Thread Adrian Thearle
Hi Guys I have a problem with a perl script running out of memory. From my googling I have found that perl itself does not seem to impose any memory limits, and I have check ulimit and login.conf for any userclass limitations but found nothing that seems to be limiting my memory. I have 128M

Re: Kerberized CIFS client?

2008-05-22 Thread Hartmut Brandt
Derek Taylor wrote: This question was previously posed of the freebsd-questions list, but with no response for a week, I'd like to try my luck here. If there's any more information I should include, please speak up: I would be glad to oblige. I would like to use smb/cifs with kerberos auth, but

Re: A Tale of Four Kernels...

2008-05-22 Thread Fraser Tweedale
Wilkinson, Alex wrote: Some may be interested in this. http://www.spinellis.gr/pubs/conf/2008-ICSE-4kernel/html/Spi08b.pdf -aW Interesting study; thanks for posting. frase signature.asc Description: OpenPGP digital signature

A Tale of Four Kernels...

2008-05-22 Thread Wilkinson, Alex
Some may be interested in this. http://www.spinellis.gr/pubs/conf/2008-ICSE-4kernel/html/Spi08b.pdf -aW IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email i