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.

Martha Lambert introduces the "Observability Lasagna" - a four-layer framework (Overview, System, Logs, Traces) focused on connecting layers for an optimized debugging UX. Learn practical tips for instrumentation, visualizing limits, and using event logs/exemplars to shift from general metrics to user-impact focused triaging. Essential for engineering leaders aiming for system reliability.
By Martha Lambert
On October 20, 2025, Amazon Web Services (AWS) experienced a major outage that disrupted global internet services, affecting millions of users and thousands of companies across more than 60 countries. The incident originated in the US-EAST-1 region and was traced to a DNS resolution failure affecting the DynamoDB endpoint, which cascaded into outages across multiple dependent services.
By Craig Risi
Engineering teams make their most consequential decisions not in architecture reviews or sprint planning, but through invisible choices embedded in metrics, defaults, and everyday behaviors. In their QCon San Francisco 2025 keynote, Shawna Martell and Dan Fike challenged the industry's focus on documented decision-making while the decisions that truly shape systems and culture go unrecognized.
By Eran Stiller
Cloud computing is evolving through disaggregation, addressing inefficiencies of traditional architectures by decoupling compute and storage. This shift enhances scalability, fault isolation, and operational simplicity, driven by advancements in networking. As seen in cloud databases such as Amazon Aurora, embracing these principles enables true economic optimization and innovative design.
By Steef-Jan Wiggers
Innovative Cloudflare Workflows now supports both TypeScript and Python, enabling developers to orchestrate complex applications seamlessly. With durable execution and state persistence, it simplifies the development of robust data pipelines and AI/ML models. Experience enhanced concurrency and intuitive design, making orchestration effortless for Python enthusiasts.
By Steef-Jan Wiggers
© 2025 Created by Michael Levin.
Powered by