lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] ICMP sockets


From: Kieran Mansley
Subject: Re: [lwip-devel] ICMP sockets
Date: Tue, 22 Feb 2005 10:47:02 +0000

On Mon, 2005-02-21 at 08:46 -0500, Vinay Purohit wrote:
> Hello,
> 
> Can sockets be used in LWIP for sending/receiving ICMP messages? If so, what
> arguments should be used when calling lwip_socket()? I've tried
> lwip_socket(AF_INET, SOCK_RAW, IP_PROTO_ICMP) but that doesn't work well.
> Specifically, I  see corrupted ICMP messages when another node might be
> pinging an Lwip node at the same time that the lwip node is also the
> initiator of ICMP echo requests for a different session. Any
> suggestions/recommendations would be much appreciated.

I don't think they can.  As far as I know we don't implement SOCK_RAW.
It should be a relatively easy extension to make though if you're
interested in helping out.

Kieran





reply via email to

[Prev in Thread] Current Thread [Next in Thread]