*BSD News Article 87796


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!uknet!usenet1.news.uk.psi.net!uknet!uknet!news.prd.nomura.co.uk!news-server
From: Steve Gailey <steveg@metrosol.demon.co.uk>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Raw IP on FreeBsd
Date: Thu, 30 Jan 1997 11:57:20 +0000
Organization: Metronome Solutions Ltd.
Lines: 31
Message-ID: <32F08CA0.5CFB@metrosol.demon.co.uk>
References: <01bc0e92$31ed9880$643d5c8c@soloman.iii.org.tw>
NNTP-Posting-Host: 147.201.66.79
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; SunOS 5.4 sun4m)
To: Simon Liu <jgliu@iii.org.tw>
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34729

Simon Liu wrote:
> 
> Hi,
> 
> I create a RAW IP socket on FreeBsd and send
> packet, but the destination can not receive
> the packets using recvfrom().
> 
> But tcpdump can see it. What's wrong my program?
> Any comment will be appreciated !
>
If you are going to receive useing recvfrom, why are you useing RAW IP
sockets? If you can see the packets on the net with TCP dump, check that
the port address (and everything else) is correct.

Steve
-- 
    
------------------------------------------------------------------------
     Steve.Gailey@nomura.co.uk                    Nomura
London              
    
------------------------------------------------------------------------
     The views expressed herein do not necessarily reflect the views of
Nomura  
     International plc and cannot be relied upon by any other party.
Nomura     
     International plc is a member of the London Stock Exchange and is 
     regulated by The Securitites and Futures Authority
    
----------------------------------------------------------------------