From owner-freebsd-questions@FreeBSD.ORG Sat Jul 2 09:06:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADF0C106566C for ; Sat, 2 Jul 2011 09:06:30 +0000 (UTC) (envelope-from seyyedahmad.javadi@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7DBC68FC0C for ; Sat, 2 Jul 2011 09:06:30 +0000 (UTC) Received: by iwr19 with SMTP id 19so4588823iwr.13 for ; Sat, 02 Jul 2011 02:06:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=yN0yheRpNuAlMzAZ5LiiqEQm03oIZJzTUgQWUPtjbP0=; b=QOUugArs36dgmUW1GZ/QHk9Mdcrpa3QSY+NEG7W8QYE3/ygNloZ0JQp9hV0GPxfbeU PJcxzD5mNaTrRwXUCs5RSocoG7gAcZULRJClDOchYEVx3CFlANEZFDq7hl5eG3s9PLl3 Rt213hOPhsEKPnIScuaWewPDx3DwX51htdTk8= MIME-Version: 1.0 Received: by 10.42.8.10 with SMTP id g10mr4800276icg.137.1309596034051; Sat, 02 Jul 2011 01:40:34 -0700 (PDT) Received: by 10.42.227.134 with HTTP; Sat, 2 Jul 2011 01:40:34 -0700 (PDT) Date: Sat, 2 Jul 2011 13:10:34 +0430 Message-ID: From: ahmad javadi To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: kernel socket programming X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2011 09:06:30 -0000 hi i am new in kernel socket programming in free bsd.is there any chance that someone send me a simple code which creates a socket with an local host or any address and begins to send some packets to the local host.im in a very need of this help. thanks.