"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
Get Avast Free Antivirus with 24/7 AI-powered online scam detection Icon
Get Avast Free Antivirus with 24/7 AI-powered online scam detection

Get protection for today’s online threats. Free.

Award-winning antivirus protection, as well as protection against online scams, dangerous Wi-Fi connections, hacked accounts, and ransomware. It includes Avast Assistant, your built-in AI partner, which gives you help with suspicious online messages, offers, and more.
Free Download
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