Skip to content

Supports Reactor & Thread-Per-Client design patterns using Generics, includes Socket Programming & Encoder-Decoder implementation.

Notifications You must be signed in to change notification settings

saviono/TCP-Server-Client-Social-Network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

TCP-Server-Client-Social-Network

Supports Reactor & Thread-Per-Client design patterns using Generics, includes Socket Programming & Encoder-Decoder implementation.

To Run The Server:

  1. open spl-net folder
  2. open terminal
  3. mvn clean compile
  4. TPC: mvn exec:java -Dexec.mainClass="bgu.spl.net.impl.BGSServer.TPCMain" -Dexec.args="7777"
  5. Reactor: mvn exec:java -Dexec.mainClass="bgu.spl.net.impl.BGSServer.ReactorMain" -Dexec.args="7777 4"

To Run a Client:

  1. open Boost_Echo_Client
  2. open terminal
  3. make
  4. cd bin
  5. ./BGSclient 127.0.0.1 7777

Supported Commands:

  1. REGISTER
  2. LOGIN
  3. LOGOUT
  4. USERLIST
  5. STAT
  6. POST
  7. PM
  8. FOLLOW 0
  9. FOLLOW 1

About

Supports Reactor & Thread-Per-Client design patterns using Generics, includes Socket Programming & Encoder-Decoder implementation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published