This week's book giveaway is in the
We're giving away four copies of a choice of
"Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac"
and have Joe Kissell on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
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]
subject: Raw Ethernet
Question re parameterized types
Raw or Cooked Carrots
WA #1.....word association
Single Socket Connection Using RMI Socket Factory
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014