Skip to content

limjinsun/ruby-tcp-ip-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP/IP Server Client Chatting Application.

tcp-ip-chat

About The Project

This is an implementation of TCP IP network communication using Ruby standard library. The server has been implemented as multi-threaded so that it can handle multiple client sockets. The client is taking the socket's buffer to read data streams. The server can handle multiple exceptions which usually occur when the socket networking happens.

Built With

Getting Started

Download or clone the repo, and run on the terminal.

Installation

  1. Clone the repo
  2. Open one terminal window for server socket
    ruby server.rb
    
  3. Open 3 another terminal window for client socket
    ruby client.rb
  4. Try to type in stdin

License

Distributed under the MIT License. See LICENSE.txt for more information.

About

tcp-ip-chat-client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages