ランキングに戻る

mayubao/KuaiChuan

Javajianshu.com/p/1b0b337829f5

仿茄子快传的一款文件传输应用

sockethttpandroidany-sharefile-transferfile-transfer-android
スター成長
スター
1.8k
フォーク
595
週間成長
Issue
12
5001k1.5k
2023年1月2024年3月2025年5月2026年7月
成果物Mavengit clone https://github.com/mayubao/KuaiChuan.git
README

KuaiChuan(仿茄子快传)

English

仿茄子快传的一款文件传输应用, 涉及到Socket通信,包括TCP,UDP通信。(喜欢的给一个star, 有帮助的给一个fork, 欢迎Star和Fork ^_^)

下载 点击下载去下载应用。

效果预览

主页

Alt text

文件发送端

Alt text Alt text Alt text

文件接收端

Alt text Alt text

网页传(20161218新增)

Alt text

Alt text Alt text

原理

快传有两种方式可以传输文件:

  1. Android应用端发送到Android应用端(必须安装应用)
  2. 通过Web浏览器来实现文件的传送 (不必安装应用)

第一种方式主要是是通过设备间发送文件。 文件传输在文件发送端或者是文件接收端通过自定义协议的Socket通信来实现。由于文件接收方和文件发送方都要有文件的缩略图,这里采用了header + body的自定义协议, header部分包括了文件的信息(长度,大小,缩略图), body部分就是文件。

第二种方式主要是在android应用端架设微型Http服务器来实现文件的传输。这里可以用ftp来实现,为什么不用ftp呢?因为没有缩略图,这是重点!

测试

(必须在真机下测试) 在Android测试机 分别是 魅蓝2 与 华为 SCL-TL00, Vivo xs1 运行正常

感谢

google: http://www.google.com

stackoverflow http://stackoverflow.com/

版本

v1.0

完成了Android端到Android端的文件传输

v1.1

完成了网页传模块的功能

issue

QQ:345269374

Email:345269374@qq.com

License

Copyright 2016 mayubao

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
関連リポジトリ
Pawdroid/Free-servers

🚀 免费订阅地址,🚀 免费节点,🚀 6小时更新一次,共享节点,节点质量高可用,完全免费。免费clash订阅地址,免费翻墙、免费科学上网、免费梯子、免费ss/v2ray/trojan节点、谷歌商店、翻墙梯子。🚀 Free subscription address, 🚀 Free node, 🚀 Updated every 6 hours, shared node, high-quality node availability, completely free. Free clash subscription address, free ss/v2ray/trojan node.

shadowrocketshadowsocks
v2cross.com
18.3k1.2k
snail007/goproxy

🔥 Proxy is a high performance HTTP(S) proxies, SOCKS5 proxies,WEBSOCKET, TCP, UDP proxy server implemented by golang. Now, it supports chain-style proxies,nat forwarding in different lan,TCP/UDP port forwarding, SSH forwarding.Proxy是golang实现的高性能http,https,websocket,tcp,socks5代理服务器,支持内网穿透,链式代理,通讯加密,智能HTTP,SOCKS5代理,黑白名单,限速,限流量,限连接数,跨平台,KCP支持,认证API。

GoGo ModulesGNU General Public License v3.0http-proxyhttps-proxy
goproxy.win
17k3.1k
skywind3000/kcp

:zap: KCP - A Fast and Reliable ARQ Protocol

CMIT Licensekcpudp
16.8k2.6k
nmap/nmap

Nmap - the Network Mapper. Github mirror of official SVN repository.

COtherc-plus-pluslua
svn.nmap.org
13.2k2.9k
walkor/workerman

An asynchronous event driven PHP socket framework. Supports HTTP, Websocket, SSL and other custom protocols.

PHPPackagistMIT Licensewebsockettimer
workerman.net
11.6k2.3k
sveinbjornt/Sloth

Mac app that shows all open files, directories, sockets, pipes and devices in use by all running processes. Nice GUI for lsof.

Objective-CBSD 3-Clause "New" or "Revised" Licensemacososx
sveinbjorn.org/sloth
8.9k175
yinxin630/fiora

An interesting open source chat application. Developed with node.js, mongoDB, socket.io and react

TypeScriptnpmMIT Licensereactfiora
fiora.suisuijiang.com
7.2k1.4k
yuesong-feng/30dayMakeCppServer

30天自制C++服务器,包含教程和源代码

C++cppserver
7k883
ldcsaa/HP-Socket

High Performance TCP/UDP/HTTP Communication Component

COtherhpsocketsocket
oschina.net/p/hp-socket
6.1k1.8k
JackJiang2011/MobileIMSDK

原创全平台IM通信层框架,轻量级、高度提炼,历经10年、久经考验。可能是市面上唯一同时支持UDP+TCP+WebSocket三种协议的同类开源框架,支持 iOS、Android、Java、H5、小程序、Uniapp、鸿蒙Next,服务端基于Netty。

Objective-CApache License 2.0imudp
52im.net/forum-89-1.html
6.1k1.4k
kerryjiang/SuperSocket

SuperSocket is a high-performance, extensible socket server application framework for .NET. It provides a robust architecture for building custom network communication applications with support for multiple protocols including TCP, UDP, and WebSocket.

C#Apache License 2.0csharpsocket
4.2k1.2k
davyxu/cellnet

High performance, simple, extensible golang open source network library

GoGo ModulesMIT Licensenetworkinggame
4.1k872