"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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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