码迷,mamicode.com
首页 > Web开发 > 详细

MNC - Multicast NetCat

时间:2015-01-20 13:31:35      阅读:264      评论:0      收藏:0      [点我收藏+]

标签:

MNC - Multicast NetCat

 

使用nc测试udp多播,总是遇到奇怪的问题,搞的一头雾水。偶然发现了MNC,测试了一下果然好用。

 

下载地址:

https://github.com/marascio/mnc

 

 

   MNC - Multicast NetCat
                            ------------------------

1. Introduction

mnc is a simple, one-direction-at-a-time, "netcat"-like application using
multicast. The aim is to provide a tool for easy debugging and testing when
setting up a multicast network or host. MNC supports IPv4 and IPv6
any-source-multicast and single-source-multicast, but depending on your
platform some of those features may not be available:
       
       L = Listen (Implies IGMP/MLD mupport)
       S = Send
       
       +----------+----------+----------+----------+----------+
       | Platform | IPv4 ASM | IPv4 SSM | IPv6 ASM | IPv6 SSM |
       +----------+----------+----------+----------+----------+
       | *nix     |  L + S   |  L + S   |  L + S   |  L + S   |
       +----------+----------+----------+----------+----------+
       | Win2k    |  L + S   |    S     |   None   |   None   |
       +----------+----------+----------+----------+----------+
       | WinXP    |  L + S   |  L + S   |    S     |    S     |
       +----------+----------+----------+----------+----------+
       | Win2k3   |  L + S   |  L + S   |    S     |    S     |
       +----------+----------+----------+----------+----------+
       
man doc/mnc.1 for information and help on how to run multicast.

2. Supported platforms

As of September 2004, mnc has been compiled and tested with Linux 2.6.8
kernels, the BSD KAME stack and Windows XP Profesional. Currently automatic
interface selection does not work on a KAME-based host and you will need to
specify the interface when in listening mode.

3. Installing mnc from source on UNIX:

	./configure ; make ; make install

4. Compiling from source on Windows:

nmc is compilable with free utilities available from Microsoft. You need to
download and install the free (as in beer) MS Visual C++ command-line tools
from:
	
	http://msdn.microsoft.com/visualc/vctoolkit2003/

and the SDK relevant to your platform from:

	http://www.microsoft.com/msdownload/platformsdk/sdkupdate/

You can run a Visual C++ command-line session, and use:

	cl /DWINDOWS=1 /TC /c *.c 
	link /fixed /out:mnc.exe *.obj ws2_32.lib

to compile a working mnc.exe. The Windows version of MNC does not yet fully
support IPv6 due to underlying limitation in the Operating System.

5. Reporting problems

Any problems, bugs or suggested features should be mailed to colm
at apache.org.

MNC - Multicast NetCat

标签:

原文地址:http://www.cnblogs.com/wansui/p/4235692.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!