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.

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
GitLab 18.8 brings a number of new features, including GitLab Duo Planner Agent, GitLab Duo Security Analyst Agent, auto-dismiss irrelevant vulnerabilities, and more. With this release, the GitLab Duo Agent Platform, enabling organizations to orchestrate AI agents, reaches general availability.
By Sergio De Simone
Microsoft has officially open-sourced XAML Studio, a lightweight rapid prototyping tool for XAML-based UI development, under the .NET Foundation. The tool, originally released through the Microsoft Store as part of the Microsoft Garage initiative, now welcomes community contributions and collaboration via its GitHub repository.
By Edin Kapić
© 2026 Created by Michael Levin.
Powered by