stund-2.22
所属分类:网络
开发工具:Unix_Linux
文件大小:206KB
下载次数:12
上传日期:2012-11-28 19:53:52
上 传 者:
zhou_lang
说明: STUN服务器代码,用于NAT穿越, 用于及时通讯,视频通话, 语音通话等穿透
(stun server source code, use for NAT P2P application)
文件列表:
stund-2.22 (0, 2012-11-28)
stund-2.22\stund (0, 2012-11-28)
stund-2.22\stund\.svn (0, 2012-11-28)
stund-2.22\stund\.svn\all-wcprops (2243, 2012-01-26)
stund-2.22\stund\.svn\entries (3562, 2012-01-26)
stund-2.22\stund\.svn\prop-base (0, 2012-11-28)
stund-2.22\stund\.svn\props (0, 2012-11-28)
stund-2.22\stund\.svn\text-base (0, 2012-11-28)
stund-2.22\stund\.svn\text-base\Makefile.svn-base (1397, 2012-01-26)
stund-2.22\stund\.svn\text-base\Stun.sln.svn-base (2096, 2012-01-26)
stund-2.22\stund\.svn\text-base\client.cxx.svn-base (11503, 2012-01-26)
stund-2.22\stund\.svn\text-base\client.sln.svn-base (891, 2012-01-26)
stund-2.22\stund\.svn\text-base\client.vcproj.svn-base (3144, 2012-01-26)
stund-2.22\stund\.svn\text-base\id.pem.svn-base (899, 2012-01-26)
stund-2.22\stund\.svn\text-base\id_key.pem.svn-base (887, 2012-01-26)
stund-2.22\stund\.svn\text-base\license.txt.svn-base (1806, 2012-01-26)
stund-2.22\stund\.svn\text-base\nattest.svn-base (1753, 2012-01-26)
stund-2.22\stund\.svn\text-base\nattestwarning.txt.svn-base (2148, 2012-01-26)
stund-2.22\stund\.svn\text-base\rfc3489.txt.svn-base (117562, 2012-01-26)
stund-2.22\stund\.svn\text-base\root.pem.svn-base (1220, 2012-01-26)
stund-2.22\stund\.svn\text-base\server.cxx.svn-base (7592, 2012-01-26)
stund-2.22\stund\.svn\text-base\server.sln.svn-base (891, 2012-01-26)
stund-2.22\stund\.svn\text-base\server.vcproj.svn-base (3144, 2012-01-26)
stund-2.22\stund\.svn\text-base\stun.cxx.svn-base (66834, 2012-01-26)
stund-2.22\stund\.svn\text-base\stun.h.svn-base (10719, 2012-01-26)
stund-2.22\stund\.svn\text-base\tlsServer.cxx.svn-base (13366, 2012-01-26)
stund-2.22\stund\.svn\text-base\udp.cxx.svn-base (8811, 2012-01-26)
stund-2.22\stund\.svn\text-base\udp.h.svn-base (5317, 2012-01-26)
stund-2.22\stund\.svn\text-base\wnattest.bat.svn-base (1076, 2012-01-26)
stund-2.22\stund\.svn\tmp (0, 2012-11-28)
stund-2.22\stund\.svn\tmp\prop-base (0, 2012-11-28)
stund-2.22\stund\.svn\tmp\props (0, 2012-11-28)
stund-2.22\stund\.svn\tmp\text-base (0, 2012-11-28)
stund-2.22\stund\Makefile (1397, 2012-01-26)
stund-2.22\stund\Stun.sln (2096, 2012-01-26)
stund-2.22\stund\WinStun (0, 2012-11-28)
stund-2.22\stund\WinStun\.svn (0, 2012-11-28)
stund-2.22\stund\WinStun\.svn\all-wcprops (1064, 2012-01-26)
stund-2.22\stund\WinStun\.svn\entries (1593, 2012-01-26)
... ...
Running the STUN server:
------------------------
You need to have 2 IP addresses next to each other to run the STUN server.
./server -h primary-ip -a secondary-ip -b
STUN server version 0.97
Usage:
./server [-v] [-h] [-h IP_Address] [-a IP_Address] [-p port] [-o port] [-m mediaport]
If the IP addresses of your NIC are 10.0.1.150 and 10.0.1.151, run this program with
./server -v -h 10.0.1.150 -a 10.0.1.151
STUN servers need two IP addresses and two ports, these can be specified with:
-h sets the primary IP
-a sets the secondary IP
-p sets the primary port and defaults to 3478
-o sets the secondary port and defaults to 3479
-b makes the program run in the backgroud
-m sets up a STERN server starting at port m
-v runs in verbose mode
近期下载者:
相关文件:
收藏者: