Solved

Client Server information exchange

Posted on 2003-11-23
1
345 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 50 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
web application structure 18 135
Java string replace 11 77
eclipse console opening separately 2 49
ejb message driven bean mdb creation steps 2 54
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

739 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