• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

SocketChannel Client not reading Messages sent by Server and drop of message

Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Team,

We have a application which is socketChannel Client connects to the server with a single connection. Sending the ISO Transaction request to the server.
Client sends Echo messages at freq interval to the ISO Switch, similarly Server can also send Echo Requests to the client.

In production, we could see lot of messages are not read by client , but in TCPDUMP, it shows server sent the rquest and reached the client.

We have a problem related to packets getting not read by a socketchannel client, where as server responded back to us with response

Please find the code for the socketchannel read [ We are using Blocking Mode]. Kindly suggest the way to tune the code.

Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic