From: "loïc maury" <lmaury@gmail.com>
Subject: Re: Questions about Gnat.sockets and raw socket
Date: Thu, 23 Apr 2015 05:52:44 -0700 (PDT)
Date: 2015-04-23T05:52:44-07:00 [thread overview]
Message-ID: <eec24f33-c94f-4b33-a4af-667699f15c21@googlegroups.com> (raw)
In-Reply-To: <64xtlkgbv1qk.139l2vds2na5p.dlg@40tude.net>
Le jeudi 23 avril 2015 14:19:04 UTC+2, Dmitry A. Kazakov a écrit :
> On Thu, 23 Apr 2015 02:21:00 -0700 (PDT), loďc maury wrote:
>
> > For a personal project, I want to create a packet analyzer.
> > Can I use Gnat.socket, for raw socket programming ? it is not clear
> > for me, and unfortunately I didn't found any answers in the ada groups.
> >
> > I will use it under Windows.
>
> The short answer is no, it would not go.
>
> Windows does not support raw sockets (naturally GNAT.Sockets does not do
> either). Under Windows you will need a so-called NDIS driver to handle
> packets away of the network stack, and Ada bindings to.
>
> I can recommend an inexpensive NDIS driver we are successfully using under
> Windows:
>
> http://www.rawether.net
>
> We also have Windows bindings to it, but they are proprietary.
>
> P.S. Under Linux you would use raw sockets. GNAT.Sockets does not support
> them, but it is relatively simple to adapt.
>
> --
> Regards,
> Dmitry A. Kazakov
> http://www.dmitry-kazakov.de
Hello Dmitry,
Thank you for the quick answer.
Maybe NDIS open source project exist, I will try to find one.
Best
Loic
next prev parent reply other threads:[~2015-04-23 12:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-23 9:21 Questions about Gnat.sockets and raw socket loïc maury
2015-04-23 12:19 ` Dmitry A. Kazakov
2015-04-23 12:52 ` loïc maury [this message]
2015-04-23 15:41 ` loïc maury
2015-04-23 16:14 ` Dmitry A. Kazakov
2015-04-23 17:32 ` Qun-Ying
2015-04-28 10:21 ` loïc maury
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox