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.

Google launched the Universal Commerce Protocol (UCP), an open standard enabling AI-driven shopping agents to complete tasks end-to-end from product discovery to checkout and post-purchase management. Co-developed with Shopify, Target, and others. UCP aims to standardize commerce capabilities, support multiple payment providers, and expand globally. Shaping the next generation of agentic commerce.
By Leela Kumili
Po Linn Chia shares the sociotechnical journey of ClassPass, moving from a flaky, homegrown testing framework to a dynamic routing architecture on ECS. She discusses leveraging Traefik and OpenTelemetry baggage to enable "shadow mains" and ephemeral feature testing. This talk provides a pragmatic blueprint for engineering leaders to increase developer velocity with a lean platform team.
By Po Linn Chia
Implementing VPC Service Controls is more about people and process than technology. Organizations must conduct extensive upfront discovery, use phased rollouts to avoid breaking production systems, and design VPC Service Controls that enable rather than block work. Success requires automation, clear exception processes, tracking both security and business metrics, and continuous improvement.
By Shijin NairIn this episode, Thomas Betts chats with Olivia McVicker, a Senior Cloud Advocate at Microsoft about AI-driven software development. The conversation covers the current, mainstream AI coding assistants and gets into where those tools are quickly heading. They then look to the future of how the entire software development lifecycle will see the benefits of AI in the next few years.
By Olivia McVicker
Microsoft has launched its Model Context Protocol (MCP) for Azure Functions, ensuring secure, standardized workflows for AI agents. With built-in OBO authentication and streamable HTTP transport, it addresses key security concerns. Now supporting multiple languages and self-hosting, MCP empowers developers to deploy with ease while safeguarding sensitive data.
By Steef-Jan Wiggers
© 2026 Created by Michael Levin.
Powered by