Jack Meyhoff
8/15/2003 1:29:00 PM
System.Net.Sockets
Socket Class in the constructor
public Socket(
AddressFamily addressFamily,
SocketType socketType,
ProtocolType protocolType
);
socketType
One of the SocketType values.
Raw
Supported by the .NET Compact Framework.
Supports access to the underlying transport protocol. Using the
SocketType Raw, you can communicate using protocols such as, Internet
Control Message Protocol (Icmp) and Internet Group Management Protocol
(Igmp). Your application must provide a complete IP header when sending.
Received datagrams return with the IP header and options intact.
"matthias" <mmunzel@gmx.de> wrote in message
news:e3kmjvso5kthnn0vqorj8uuicp24sedqf6@4ax.com...
> hello everybody,
>
> i want do capture traffic in promiscous mode from ethernet adapter. i
> have visual studio and the framework sdk installed. i have read at the
> msdn library about the network monitor architecture. but i did not
> find any concrete examples or howtos about programming. i expected i
> could use some library funktions like adding a filter, retriving
> captured frames from a system api,... but the help documents say the
> network monitor is part of SMS and you need tools included like
> monitor controll tool, etc...
>
> is there a way to capture / send packets using microsoft .net
> framework programming in c# / c++ ? what do i need, where can i start
> ?
>
> any informationen is helpfull !
>
> greetings matthias