CodeTown

www.codetown.us ::: a software developer's community

Sending strings between two computers via ethernet

A while ago I asked a question about using RS-232 communication with Java.  It seems as though I need to abandon that route because it no longer fits the desired system requirements.  Thanks to Nem for his advice on that one.

 

Now what I need to be able to do is send and receive strings between two computers connected via a network hub.  The computers in use would not be connected to the outside world and would only be communicating with each other at this point.

 

I need to be able to send a string like "auto" terminated with a carriage return when a button on a GUI is pressed by the user.  The GUI would then need to get back a string like "ok" or "err" also followed by a carriage return.

 

I am sure that I am making this much harder than I need to, so if anyone can help out it would appreciated.  For some reason I am having a lot of trouble absorbing how to use Java, so any help or explanations need to be in beginner terms.

 

Thanks.

Tags: ethernet, over, strings

Views: 349

Reply to This

Replies to This Discussion

Thanks, I will check those out.

 

Thanks again for the help.

Reply to Discussion

RSS

Translate Codetown

Looking for Jobs or Staff?

Check out the Codetown Jobs group. There's also a free Jobs mailing list.

 

 



Enjoy the site? Support Codetown with your donation.




Reading List

HowStuffWorks "How Cloud Computing Works"

In a cloud computing system, there's a significant workload shift. Local computers no longer have to do all the heavy lifting when it comes to running applications. The network of computers that make up the cloud handles them instead. Hardware and software demands on the user's side decrease. The only thing the user's computer needs to be able to run is the cloud computing system's interface software, which can be as simple as a Web browser, and the cloud's network takes care of the rest...

What cloud computing really means | Cloud Computing - InfoWorld

Cloud computing is all the rage. "It's become the phrase du jour," says Gartner senior analyst Ben Pring, echoing many of his peers. The problem is that (as with Web 2.0) everyone seems to have a different definition...

Cloud computing - Wikipedia, the free encyclopedia

Cloud computing is the delivery of computing as a service rather than a product, whereby shared resources, software, and information are provided to computers and other devices as a utility (like the electricity grid) over a network (typically the Internet).

Eclipse DemoCamps November 2011 - Eclipsepedia

From November 1-30, we are inviting individuals to organize and attend Eclipse 10th Birthday Parties around the world! Click the link to see details.

YouTube Founders Aim to Revamp Delicious - NYTimes.com

Chad Hurley and Steve Chen have some experience with turning a small Web site into Internet gold. In 2006 they sold their scrappy start-up YouTube to Google for $1.65 billion. Jim Wilson/The New York Times The Delicious office in San Mateo, Calif. It now has around 15 employees, mostly engineers. More recently they picked an unlikely candidate to be their next Web sensation: a Yahoo castoff.
Locations of visitors to this page


Codetown on Facebook

© 2014   Created by Michael Levin.

Badges  |  Report an Issue  |  Terms of Service