Coder Social home page Coder Social logo

chatcat_server's Introduction

CatCat聊天服务端

ChatCat聊天(服务端),Swing+Socket(TCP)+MySQL,JavaSE课程项目。

JDK MySQL

客户端项目地址

ChatCat_Client

服务端运行展示

配置本项目

数据库服务器配置

这部分请见ChatCat_Client的README中的说明。

配置服务端连接数据库

在主类[ChatCat_Server/src/allServer/Main]中第10行配置数据库服务器的ip地址,数据库服务器只要和服务端在同一个局域网内都可以。

当时没考虑JDBC解耦,请在所有的类中找到连接数据库的部分,修改成适合自己环境的端口、scheme名、用户名、密码。

运行本项目

直接从主类[ChatCat_Server/src/allServer/Main]运行。

附注

ChatCat的客户端、数据库、服务端允许分离在不同的主机上,可以使用一台路由器建立局域网,在局域网内实现多线程聊天。

chatcat_server's People

Contributors

lauzyhou avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.