• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

NIO Socket weirdnes in Solaris 2.10

Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I tried a client/server NIO server program, and saw some weird behavior.

If i run the client and server on the same Window desktop machine. the work with each other. client conect to the server, query the instrument and get the list of instruments back.

however, if i ran client and server on the Solaris 2.10 box, the NioClient doesn't get anything back from the MockServer. the even more ineresting thing is that, if i run the server on a different solaris 2.10 machine, everything then starts to work.

can sometone sheds some lights? here are the codes.

the NioClient.java

the MockServer.java
The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad:
the value of filler advertising in 2021
    Bookmark Topic Watch Topic
  • New Topic