Jump to content

what is best programming language for relatively small applications??

- - - - -

  • Please log in to reply
5 replies to this topic

#1
fabiniyoung

fabiniyoung

    Newbie

  • Members
  • PipPip
  • 11 posts
hie,
between python, java and c++, what language is best for developing say like a packet sniffer....
???

#2
dbug

dbug

    Programmer

  • Members
  • PipPipPipPip
  • 155 posts
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...

#3
fabiniyoung

fabiniyoung

    Newbie

  • Members
  • PipPip
  • 11 posts
....

#4
fabiniyoung

fabiniyoung

    Newbie

  • Members
  • PipPip
  • 11 posts
hmmm,
how bad would it be if i was to use java instead (to develop a program like a packet sniffer) ??

#5
dbug

dbug

    Programmer

  • Members
  • PipPipPipPip
  • 155 posts
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
fabiniyoung

fabiniyoung

    Newbie

  • Members
  • PipPip
  • 11 posts
thanks!!!




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users