• 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 ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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.


 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic