All Projects → sontx → Chat Socket

sontx / Chat Socket

Licence: mit
A simple chat room using java socket with the client-server paradigm

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Chat Socket

Tinytcpserver
A small tcp server working under Mono or .NET (4.0) and provides hooks for handling data exchange with clients (works under mono and .net). Behaviour/protocol/reaction could be specified via custom C# script.
Stars: ✭ 14 (-41.67%)
Mutual labels:  socket, tcp-server, tcp-client
Socketify
Raw TCP and UDP Sockets API on Desktop Browsers
Stars: ✭ 67 (+179.17%)
Mutual labels:  socket, tcp-server, tcp-client
tcp-net
Build tcp applications in a stable and elegant way
Stars: ✭ 42 (+75%)
Mutual labels:  socket, tcp-server, tcp-client
EasyFileTransfer
An easy way to transfer file with any size on network with tcp protocol.
Stars: ✭ 30 (+25%)
Mutual labels:  socket, tcp-server, tcp-client
Bizsocket
异步socket,对一些业务场景做了支持
Stars: ✭ 469 (+1854.17%)
Mutual labels:  socket, tcp-server, tcp-client
Oksocket
An blocking socket client for Android applications.
Stars: ✭ 2,359 (+9729.17%)
Mutual labels:  socket, tcp-server, tcp-client
cAndroid
cAndroid is tool for control your PC by Android phone
Stars: ✭ 23 (-4.17%)
Mutual labels:  socket, tcp-server, tcp-client
phaChat
a web chat by node.js 一个基于 node.js 的多人 web 聊天室
Stars: ✭ 18 (-25%)
Mutual labels:  socket, chatroom
Dubbogo
a golang micro-service framework compatible with alibaba dubbo
Stars: ✭ 258 (+975%)
Mutual labels:  tcp-server, tcp-client
Naivechat
🎭 本项目是作者小傅哥使用JavaFx、Netty4.x、SpringBoot、Mysql等技术栈和偏向于DDD领域驱动设计方式,搭建的仿桌面版微信实现通信核心功能。课程文章已发布到GitChat专栏,欢迎购买。如果本项目能为您提供帮助,请给予支持(关注、⭐️Star、分享)!
Stars: ✭ 290 (+1108.33%)
Mutual labels:  javafx, socket
Tacopie
C++ TCP Library - NO LONGER MAINTAINED
Stars: ✭ 359 (+1395.83%)
Mutual labels:  tcp-server, tcp-client
CSharpServer
Ultra fast and low latency asynchronous socket server & client C# library with support TCP, SSL, UDP protocols and 10K connections problem solution
Stars: ✭ 101 (+320.83%)
Mutual labels:  tcp-server, tcp-client
network
exomia/network is a wrapper library around System.Socket for easy and fast TCP/UDP client & server communication.
Stars: ✭ 18 (-25%)
Mutual labels:  tcp-server, tcp-client
Hprose Nodejs
Hprose is a cross-language RPC. This project is Hprose 2.0 for Node.js
Stars: ✭ 297 (+1137.5%)
Mutual labels:  tcp-server, tcp-client
Cowboy
Cowboy.Sockets is a C# library for building sockets based services.
Stars: ✭ 364 (+1416.67%)
Mutual labels:  tcp-server, tcp-client
ctsTraffic
ctsTraffic is a highly scalable client/server networking tool giving detailed performance and reliability analytics
Stars: ✭ 125 (+420.83%)
Mutual labels:  tcp-server, tcp-client
Cellnet
High performance, simple, extensible golang open source network library
Stars: ✭ 3,714 (+15375%)
Mutual labels:  socket, tcp-server
Fiora
An interesting open source chat application. Developed with node.js, mongoDB, socket.io and react
Stars: ✭ 4,920 (+20400%)
Mutual labels:  chatroom, socket
Cppserver
Ultra fast and low latency asynchronous socket server & client C++ library with support TCP, SSL, UDP, HTTP, HTTPS, WebSocket protocols and 10K connections problem solution
Stars: ✭ 528 (+2100%)
Mutual labels:  tcp-server, tcp-client
Nat Ddns
tcp代理转发工具,可用于内网穿透实现类似花生壳等工具的功能
Stars: ✭ 19 (-20.83%)
Mutual labels:  tcp-server, tcp-client

Gitter chat

chat-socket is a simple chat application includes chat client and chat server. Support multiple users, private chat, and personal status. This project is based on TCP socket, multi-threading, JavaFx, Java Swing, Java serialization, and JSON.

Prerequisites

To compile this project, you need to install these things:

Installing

Build (binary file will be placed in target directory):

mvn clean compile assembly:single

Run (will ask you for working mode):

mvn exec:java

Usage

Both server and client are in chatsocket-x.y-SNAPSHOT-jar-with-dependencies.jar (to get this jar file you need to build this project).

  1. Server app: java -jar chatsocket.jar --mode=server
  2. Client app: java -jar chatsocket.jar --mode=client

App settings will be saved in app.json file

{
  "modified" : 1580791811962,
  "settings" : [ {
    "key" : "client",
    "data" : {
      "serverIp" : "127.0.0.1",
      "serverPort" : 3393,
      "loggedUserName" : "sontx"
    }
  }, {
    "key" : "server",
    "data" : {
      "ip" : "127.0.0.1",
      "port" : 3393
    }
  } ]
}

Server

The server needs to listen to an IP and a port number, other clients will connect to this address. Fill up these boxes and click on Start button to start the server.

All users data will be saved in user.json file.

[ {
  "id" : "7453f7f5105547179f0845cd03fe4eda",
  "username" : "sontx",
  "passwordHash" : "7c4a8d09ca3762af61e59520943dc26494f8941b",
  "profile" : {
    "displayName" : "Tran Xuan Son",
    "status" : "I'm just a beginner"
  }
} ]

Client

  1. Connect to the server.

  1. Then login with your account

  1. Or register a new one.

  1. Other users will be shown in your friend list.

  1. To update your userProfile, double-click to the avatar.

  1. Double-click to any online friend to chat

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Dependencies

Author

Developed by sontx:

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].