hie,
between python, java and c++, what language is best for developing say like a packet sniffer....
???
what is best programming language for relatively small applications??
Started by fabiniyoung, Sep 16 2010 01:08 AM
5 replies to this topic
#1
Posted 16 September 2010 - 01:08 AM
|
|
|
#2
Posted 16 September 2010 - 02:42 AM
For a packet sniffer I would choose C/C++
If performance is critical, C/C++ is the best option. For other characteristics depends on your preferences, the graphical requirements, and the environment in which the application must execute...
If performance is critical, C/C++ is the best option. For other characteristics depends on your preferences, the graphical requirements, and the environment in which the application must execute...
#3
Posted 16 September 2010 - 08:22 AM
....
#4
Posted 16 September 2010 - 08:30 AM
hmmm,
how bad would it be if i was to use java instead (to develop a program like a packet sniffer) ??
how bad would it be if i was to use java instead (to develop a program like a packet sniffer) ??
#5
Posted 16 September 2010 - 08:44 AM
A packet sniffer is a very low level application. I've never tried to do things like this in Java. I think that Java doesn't support raw sockets in the standard JRE, so this cannot be done (AFAIK). However there are some documents on internet referencing third party libraries that can supply raw sockets to Java. With one of these libraries you could build a packet sniffer in Java. However if the network trafic is high, there can be problems processing all the information in real time.
#6
Posted 16 September 2010 - 09:18 AM
thanks!!!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









