Probably not. Java is specifically targeted at programming applications so it abstracts out all those lower-level details. If it is possible, it would probably be documented here.
Is there some kind of a listener we can register to find out the packets we receive and then manually send all the packets and prevent the protocol layer from sending the packets
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35241
7
posted
0
As Joe said, that's abstracted away. Maybe a JNI-based library like jpcap gives you enough control to achieve that.
but jpcap libraries are for packet sniffing. Does it allow me to disable tcp layer responding to the client.[like sending the ACK]
Rusty Shackleford
Ranch Hand
Joined: Jan 03, 2006
Posts: 490
posted
0
Jpcap can send packet also, but I really don't think it is going to work, unless you use the library to mimic all of TCP functionality, and even then the OS is probably going to get in your way.
Maybe there is an OS setting to change the ACK delay.
"Computer science is no more about computers than astronomy is about telescopes" - Edsger Dijkstra
mahmoud adel
Greenhorn
Joined: May 10, 2009
Posts: 4
posted
0
well you will find in jpcap a method called setfilter this method helps you to choose the only active protocol needed on capturing like tcp / udp or whatever go javadocs and search for it a bit and you will find it