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 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??
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Use Pcap.Net[^] Smile | :)
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 478
1 Sergey Alexandrovich Kryukov 305
2 PhilLenoir 115
3 RajeeshMenoth 110
4 Uma Shankar Patel 80
0 Sergey Alexandrovich Kryukov 6,557
1 OriginalGriff 5,966
2 CPallini 2,473
3 Richard MacCutchan 1,687
4 Abhinav S 1,540


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100