Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Client Server information exchange

Posted on 2003-11-23
1
Medium Priority
?
351 Views
Last Modified: 2010-03-31
Im doing a small client server project and i dont fully understand how a client can talk to a server. I have set up a socket and can print from the server side to the client but what i want to be able to do now is send values from the client and save them in variables on the server side for processing.
Can you please tell me what are the comands on the client side to send a variable
String value;  and the commands on the server side to store it in String clientValue.  
Any help will be greatly appreciated
Raftor
0
Comment
Question by:Raftor
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 86

Accepted Solution

by:
CEHJ earned 200 total points
ID: 9805795
You need to get an output stream at the client end and send a String to the server. See my answer to the following question (essentially the same):

http://www.experts-exchange.com/Programming/Programming_Languages/Java/Q_20805979.html
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
This video teaches viewers about errors in exception handling.
Suggested Courses

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question