"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

nel_h2
Secure User Management, Made Simple | Frontegg Icon
Secure User Management, Made Simple | Frontegg

Get 7,500 MAUs, 50 tenants, and 5 SSOs free – integrated into your app with just a few lines of code.

Frontegg powers modern businesses with a user management platform that’s fast to deploy and built to scale. Embed SSO, multi-tenancy, and a customer-facing admin portal using robust SDKs and APIs – no complex setup required. Designed for the Product-Led Growth era, it simplifies setup, secures your users, and frees your team to innovate. From startups to enterprises, Frontegg delivers enterprise-grade tools at zero cost to start. Kick off today.
Start for Free
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