A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
Sockets and Internet Protocols
Joined: Jun 04, 2007
Aug 29, 2007 22:17:00
I did a search and didn't come up with this....
Is there a way to do raw ethernet packets from Java?
I looked through java.net and didn't see anything that jumped out at me....
SCJP - 86% - June 11, 2009
Joined: Aug 17, 2004
Aug 30, 2007 11:14:00
Java as a language only supports well-formed UDP and TCP packets, not raw packets. Technically, you can drop down through JNI and do it in C, but it'd probably be better to do in another language.
author and iconoclast
Joined: Jul 08, 2003
Aug 30, 2007 15:13:00
Note that Ethernet doesn't have packets, but rather "
". IP, which sits below TCP and UDP (the protocols Java gives you access to), has packets.
[Jess in Action]
Don't get me started about those stupid
subject: Raw Ethernet
Raw or Cooked Carrots
Single Socket Connection Using RMI Socket Factory
Question re parameterized types
WA #1.....word association
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014