Setting the PUSH indicator to the data packets
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