"Java Socket Network" is an easy-to-use library that allows users to create simple, event-driven, server-client desktop applications. Users can create "server" and "client" applications which interact with each other from different machines (on the same network). Each server can support multiple clients at the same time. To create a server or client, simply extend AbstractServer (or AbstractClient) and override 4 simple methods.

The library handles message sending/receiving, client connection/disconnection, and the multi-threading associated with maintaining multiple connections at once. The 4 overridable methods within AbstractServer and AbstractClient are all called from the same thread respectively, eliminating the need to worry about most threading issues.

A variety of message sending methods are provided, however the "criticalSend" versions will suffice for most cases.

See my "Chat Network" project for a sample implementation of this library.

Features

  • Java 7
  • Java-docs provided
  • Source and .jar(s) provided
  • IP displaying utility provided (ShowIP.jar)
  • Files uploaded in an Eclipse project format
  • Simply include SocketNetworkAll.jar in your project to access the library

Project Activity

See All Activity >

Follow Java Socket Network

Java Socket Network Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Java Socket Network!

Additional Project Details

Registered

2014-03-14