This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

two clients : urgent please  RSS feed

 
sachin dabhade
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is there any way by which a client can send some data to server which is processed and sent forward to second client using RMI?
thanks ,
sachin
 
Donnie Brasco
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you simply read the data from the first client with a BufferedReader and write it to the port where the second client is listening via a PrintWriter.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!