From: Orhan Berent (berent@deu.net.tr)
Date: Thu 30 Oct 2003 - 09:52:45 EST
Yok ondan degilmis hata,derlerken adim adim bakmamistim,inet_ntoa'ya kiziyor
if ((new_fd = accept(sockfd, (struct sockaddr *)&their_addr, &sin_size)) ==
-1) {
perror("accept");
continue;
}//end if
printf("server: got connection from
%s\n",inet_ntoa(their_addr.sin_addr));
if (!fork()) { // this is the child process
close(sockfd); // child doesn't need the listener
bu parca /usr/lib'deki libnsl.so'yu begenmiyor,caresini arastiriyorum.
Ozur
Orhan Berent
-----Original Message-----
From: linux-programlama-bounce@liste.linux.org.tr
[mailto:linux-programlama-bounce@liste.linux.org.tr] On Behalf Of M.Ali
VARDAR
Sent: Thursday, October 30, 2003 4:29 PM
To: linux-programlama@liste.linux.org.tr
Subject: [linux-programlama] Re: symbol referncing error
Selamlar
/etc/ld.so.conf dosyasini duzenleyiniz