Date: Thu, 29 Nov 2001 12:22:19 +0300 From: "Andrey Simonenko" <simon@comsys.ntu-kpi.kiev.ua> To: "Sergey V. Artjushkin" <skiv@caravan.ru> Cc: <freebsd-questions@freebsd.org> Subject: Re: get client ip from accept(2) ? Message-ID: <008601c178b7$581c9120$6d36120a@comsys.ntukpi.kiev.ua> References: <3C052091.70205@caravan.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Give us more lines from your program, especially it is interesting to see how do you define variables. ----- Original Message ----- From: Sergey V. Artjushkin <skiv@caravan.ru> Newsgroups: lucky.freebsd.questions Sent: Wednesday, November 28, 2001 8:36 PM Subject: get client ip from accept(2) ? > I'm trying to find out the client ip that connects to this server. > But l_cliaddr structure is NULL after succesfull accept call. > As I understand from manuals in this structure must be client ip. > Where I'm wrong and how I can get this ip? > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008601c178b7$581c9120$6d36120a>