Codetown ::: a software developer's community
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:
Thanks, I will check those out.
Thanks again for the help.
Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.
Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.
Check out the Codetown Jobs group.

At QCon London 2026, Suhail Patel, a principal engineer at Monzo who leads the bank’s platform group, described how the bank has built a developer platform capable of shipping hundreds of changes to production every day.
By Matt Saunders
At QCon London 2026, Ian Cooper, senior principal engineer at Just Eat Takeaway, discussed managing asynchronous APIs in production, showing how endpoint definitions can drive code generation, schema registration, and the automation of messaging infrastructure.
By Renato Losio
JP Morgan Chase engineers Luis Albinati and Surabhi Mahajan argued that multi-cloud complexity can't be solved with engineering alone. Speaking at QCon London, they showed how treating multi-cloud as a product with capability mapping, demand governance, and defined users tames the chaos.
By Steef-Jan Wiggers
Artificial intelligence is rapidly reshaping the way software is built, but its impact is more nuanced than many organizations expected. The 2025 DevOps Research and Assessment (DORA) report, titled State of AI-Assisted Software Development, finds that AI does not automatically improve software delivery performance.
By Craig Risi
Joy Ebertz, Principal Engineer at Imprint, presented at QCon London 2026 a groundbreaking framework for prioritizing technical debt amidst rapid AI-driven code production. By challenging perfectionist mindsets, her six-question approach helps teams assess impact and costs, ensuring focus on vital debt. Jot emphasizes translating tech decisions into financial terms, empowering smarter engineering.
By Daniel Curtis
© 2026 Created by Michael Levin.
Powered by