Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to do Session handling in RCP
How to do Session handling in RCP [message #524996] Mon, 05 April 2010 03:47 Go to next message
Eclipse UserFriend
I want to send value over Socket and recieve the returned value as well. How can we do this through RCP?
Re: How to do Session handling in RCP [message #525339 is a reply to message #524996] Tue, 06 April 2010 05:47 Go to previous message
Eclipse UserFriend
Hi
I'm not a network type, but I used the following in order to check if a remote service was active.

try {
(java.net) Socket socket = new Socket(url, port);
// now use the socket methods to retrieve the data you want
catch (SocketException) {
// Handle the exception as required
}

Apologies, if this is simply stating the obvious. If this is the case, then it would help others if you could expand on what else you are wanting to do.

Regards, John


Previous Topic:Cannot get the updated content of Text.getText() value
Next Topic:To which method we can pass values ,whileRCP is running
Goto Forum:
  


Current Time: Tue Jun 17 13:24:24 EDT 2025

Powered by FUDForum. Page generated in 0.03879 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top