Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Setting the PUSH indicator to the data packets

Muthu RamasamySep 6 2012 — edited Sep 14 2012
Hi,

Am facing some issue with sending the data packets using java Socket programming. The issue is that our (Java)application is sending the data to a server.But in between connection breaks. The network people says that there are packets sent without the PUSH flag by the application. When they look at these their server sends a FIN and eventually an RST flag which resets the connection. That being said since the Java Application in question to send/receive data.

I have checked the link http://www.faqs.org/rfcs/rfc1122.html 4.2.2.2 Use of Push: RFC-793 Section 2.8. Which suggests that the PUSH will be sent at the end of the data that to be sent(last packet). But they says all the packets should contain the PUSH indicator. So I tried to set using Java API but no method available to set. Can anyone suggest that , how to set the PUSH indicator to the data packets.

Thanks,
Muthu
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 12 2012
Added on Sep 6 2012
8 comments
5,419 views