Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 837 Bytes

File metadata and controls

31 lines (26 loc) · 837 Bytes

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