Skip to content

hackzy/STUN_SERVER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Python STUN 服务端

使用方法

  1. 克隆或下载 stun.py 文件到本地。

  2. 在终端运行以下命令启动 STUN 服务端:

    python stun.py
  3. STUN 服务端会开始监听并等待客户端请求。

配置

  • 默认端口:5000
  • 默认协议:UDPTCP

注意:确保防火墙允许所需端口的通信。

依赖

  • Python 版本:3.x
  • 相关库:socket, threading,struct

更多

  • 自定义端口和配置请参考 stun.py 中的参数设置。
  • 欢迎提 PR 或在 Issues 中报告 Bug!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages