Can't be done using the standard Java library. You'll have to write some JNI code or find a JNI library.
On May 20, 4:32 am, prhlava <prhl...@googlemail.com> wrote: > Hello, > > Apologies for off topic post. > > I would like to send and receive raw ethernet frames from Clojure. > > So far, I found: > > http://netresearch.ics.uci.edu/kfujii/jpcap/doc/ > > but is sending and receiving raw ethernet packets possible with the > latest JDK using standard networking stack of JVM? > > Info I found is contradictory and most of it is old. > > The target platform this should work on are Linux, MacOS, and Windows. > My development platform is Linux. > > Kind regards, > > Vlad > > PS: I am not after UDP or any TCP/IP related stuff but trying to send/ > receive ethernet stuff directly. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---