Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0
How can i read data from a ethernet port?
How can i unpack data packets sent from the ethernet port?
Posted 19-Jun-11 20:34pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Use Pcap.Net[^] Smile | :)
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

You need to setup a "TCP server" on port 500 - you can use the Generic TCP server or the HTTP module, with some changes.
TcpClient tcpclient = new TcpClient(); 
tcpclient.Connect("192.168.1.201", 500); 
 
Hope this might guide you.
  Permalink  
Comments
Dave Kreskowiak at 20-Jun-11 8:56am
   
What in the hell does this have to do with capturing packets going out the NIC??

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 367
1 Abhinav S 226
2 thatraja 220
3 OriginalGriff 195
4 Peter Leow 160
0 Sergey Alexandrovich Kryukov 8,849
1 OriginalGriff 5,035
2 Peter Leow 3,949
3 Maciej Los 3,535
4 Abhinav S 3,148


Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 20 Jun 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid