Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / .NET SDK / August 2003

Tip: Looking for answers? Try searching our database.

real time network capture

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
matthias - 14 Aug 2003 10:12 GMT
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
Jack Meyhoff - 15 Aug 2003 14:28 GMT
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.

> hello everybody,
>
[quoted text clipped - 14 lines]
>
> greetings matthias

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.