From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7554 invoked by alias); 29 Sep 2007 21:46:41 -0000 Received: (qmail 7546 invoked by uid 22791); 29 Sep 2007 21:46:40 -0000 X-Spam-Check-By: sourceware.org Received: from mms2.broadcom.com (HELO mms2.broadcom.com) (216.31.210.18) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 29 Sep 2007 21:46:38 +0000 Received: from [10.10.64.154] by mms2.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.3.1)); Sat, 29 Sep 2007 14:46:30 -0700 X-Server-Uuid: A6C4E0AE-A7F0-449F-BAE7-7FA0D737AC76 Received: by mail-irva-10.broadcom.com (Postfix, from userid 47) id BC8262AF; Sat, 29 Sep 2007 14:46:30 -0700 (PDT) Received: from mail-irva-8.broadcom.com (mail-irva-8 [10.10.64.221]) by mail-irva-10.broadcom.com (Postfix) with ESMTP id A7B872AE; Sat, 29 Sep 2007 14:46:30 -0700 (PDT) Received: from mail-sj1-12.sj.broadcom.com (mail-sj1-12.sj.broadcom.com [10.16.128.215]) by mail-irva-8.broadcom.com (MOS 3.7.5a-GA) with ESMTP id FSS42160; Sat, 29 Sep 2007 14:46:30 -0700 (PDT) Received: from NT-SJCA-0752.brcm.ad.broadcom.com (nt-sjca-0752 [10.16.192.222]) by mail-sj1-12.sj.broadcom.com (Postfix) with ESMTP id 30ADD20501; Sat, 29 Sep 2007 14:46:30 -0700 (PDT) Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Sat, 29 Sep 2007 21:46:00 -0000 Message-ID: In-Reply-To: <613240.81519.qm@web54008.mail.re2.yahoo.com> References: <613240.81519.qm@web54008.mail.re2.yahoo.com> From: "Alok Singh" To: "Xun Yuan" , ecos-discuss@sources.redhat.com X-WSS-ID: 6AE0183C2MO272840-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: RE: [ECOS] IP adress Get and Set (SIOCSIFADDR problem ? ) X-SW-Source: 2007-09/txt/msg00154.txt.bz2 Yuan, I believe you are right. I always use SOCK_RAW.=20 Are you seeing any problem with SOCK_RAW? For some reasons, ecos bootp/dhcp sever code uses SOCK_DGRAM while setting IP address. -ALOK=20 -----Original Message----- From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Xun Yuan Sent: Sunday, September 30, 2007 3:05 AM To: ecos-discuss@sources.redhat.com Subject: [ECOS] IP adress Get and Set (SIOCSIFADDR problem ? ) HI There, =20 Would someone please tell me why the second parameter in GetIP and SetIP is SOCK_DGRAM in the below link?=20 Does it matter in case of getting/setting IP addresses of an interface? If it does not, any value would do, such as SOCK_RAW, SOCK_DSTREAM, right? =20 Thanks very much in advance pam =20 =20 http://www.cygwin.com/ml/ecos-discuss/2004-01/msg00130.html =20 ________________________________________________________________________ ____________ Catch up on fall's hot new shows on Yahoo! TV. Watch previews, get listings, and more! http://tv.yahoo.com/collections/3658=20 --=20 Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss