I have an application and I want to save or log the network transforming data bytes. But I have no Idea how to do that. Does anybody know how can I do that?? (It's not for steal data! I just want my network transforming data bytes)
Asked
Active
Viewed 139 times
0
-
3"network transforming data bytes" ? – caesay May 16 '12 at 16:45
-
2I'm not sure a language barrier is an appropriate reason for a downvote, but I also wonder what "network transforming data bytes" means. Are you trying to write a sniffer? – David May 16 '12 at 16:47
-
@DavidStratton: yes but for mine network! – ahmadali shafiee May 16 '12 at 16:48
-
@DavidStratton: I didn't know the name and I couldn't say it better! – ahmadali shafiee May 16 '12 at 16:49
-
@ahmadali Can you comment what you mean by "network transforming bytes" in Persian so we can try our hand at translating it? – Chris Pfohl May 16 '12 at 16:51
-
@ChristopherPfohl اطلاعاتی که از طریق شبکه منتقل می شود را در جایی ذخیره کنم – ahmadali shafiee May 16 '12 at 16:53
-
K, Google Translate gives us: "Information that is transmitted through the network in place to save" @Ahmadali, are you just trying to log all your home network traffic? The only part I dont' understand is "In Place" (را در جایی) – Chris Pfohl May 16 '12 at 16:57
-
I think that ahmadali just wants to detect everything that transmits over his network. I mean he wants to save every bytes that are transmitting over his local network. – Mahdi Ghiasi May 16 '12 at 16:58
-
1@ChristopherPfohl: google translate isn't a good persian to english translator! – ahmadali shafiee May 16 '12 at 17:01
-
@ahmadalishafiee I know google translate is a bad translator (for pretty much everything), but it often gives a different slant on things that's very helpful. Especially if you know the types of errors it typically makes. – Chris Pfohl May 16 '12 at 17:07
2 Answers
3
If I am reading properly, I think you want to write a Packet Sniffer. There's a downloadable source code for one here , which you should be able to modify.

David
- 72,686
- 18
- 132
- 173
0
Actually I just needed the Sniffer
name that I get it from the second comment of the question by David Stratton. I searched google and found this and it's more simple than this!(because I wanted a simple code) and I could get the package as byte data with some code changing. thanks everyone to help me!

ahmadali shafiee
- 4,350
- 12
- 56
- 91