Skip to content

一个写着玩的基于终端和tcpsocket的聊天app

Notifications You must be signed in to change notification settings

RongDuJiKsp/rust_cli-chat-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat With Rust

一款简单的未加密的Tcp聊天软件

Build

cargo build -r

Usage

start
Usage: simple_chat.exe [OPTIONS]

Options:
  -p, --port <PORT> The appliation listen port [default: random]
  -b, --bind_ip <BIND_IP>            [default: 127.0.0.1] The appliation bind ip
  -n, --nick <NICK> not use
  -f, --channel_size <CHANNEL_SIZE>  [default: 1024] the buffer size
  -h, --help                         Print help

commands

conn <remote Address> connect to another client

connsta the state of connects , the short vision is sta!

msgbox <remote address> ...<msgs> send a raw message to remote address ,short vision is msg!.The remote address must be conned.

chatwith <remote address>open window to chat.The remote address must be conned. short vision is cw!

chatmsg ...<messages>on window send a raw message to remote address which is selected by chatwith,short vision is chat!

About

一个写着玩的基于终端和tcpsocket的聊天app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages