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的更多相关文章

  1. FMS 4中multicast脚本的小修正

    FMS 4中multicast脚本的小修正 http://help.adobe.com/en_US/flashmediaserver/devguide/WS7812b00092aae0dc-2829d ...

  2. 802.11 对于multicast 和 broadcast的处理

    ethernet内部会有broadcast 和 multicast.这两种包都是一个STA向多个STA发包. 当没有wifi存在的时候,LAN口之间的broadcast 和 multicast是可靠转 ...

  3. netcat命令

    1 简介 netcat是网络工具中的瑞士军刀,它能通过TCP和UDP在网络中读写数据.通过与其他工具结合和重定向,你可以在脚本中以多种方式使用它.使用netcat命令所能完成的事情令人惊讶. netc ...

  4. nc 局域网聊天+文件传输(netcat)

    nc 局域网聊天+文件传输 nc的全程是netcat,这个工具非常好用. 有时候我们需要在局域网内传送一些文本消息或者文件的时候,通常的做法是安装一些局域网通讯软件,然后来做.其实不必要这样,使用nc ...

  5. 计算机病毒实践汇总四:netcat使用方法

    在尝试学习分析的过程中,判断结论不一定准确,只是一些我自己的思考和探索.敬请批评指正! 1. netcat概述 (1)特性 "TCP/IP协议栈瑞士军刀",可以被用在支持端口扫描. ...

  6. Linux Netcat 命令——网络工具中的瑞士军刀

    原文:http://www.oschina.net/translate/linux-netcat-command netcat是网络工具中的瑞士军刀,它能通过TCP和UDP在网络中读写数据.通过与其他 ...

  7. linux nc (NetCat) 命令详解

    原文:http://www.huanxiangwu.com/477/linux-nc-netcat 一.版本通常的Linux发行版中都带有NetCat(简称nc),甚至在拯救模式光盘中也由busybo ...

  8. 使用 nc (Netcat) 建立傳送資料的 socket server

    原文:http://blog.longwin.com.tw/2012/02/nc-data-send-socket-server-2012/ 於 Debian / Ubuntu Linux 想要透過 ...

  9. netcat nc

    http://pan.baidu.com/s/1bo2IH9X#netcat 云盘下载 [root@bass ~]# tar -xjvf netcat-0.7.1.tar.bz2 [root@bass ...

随机推荐

  1. 如何在MAC机器中实现移动设备WiFI上网(没有专门的无线路由器的情况)

    在很多办公室甚至家中都有无线路由器以方便通过WIFI信号上网.如果没有无线路由器,如何让多个移动智能终端同时上网呢?如果你是Windows用户那么可以选择wifi共享精灵来解决,如果你拥有MAC机器, ...

  2. MFC中release版本和debug版本区别

    最近MFC写了个程序,生成release版,原来正常,后来删掉了些控件再编译运行,结果竟然报内存读写错误,debug却是正常的.后来将“Project   Settings”   中   “C++/C ...

  3. ORA-12518 TNS:监听程序无法分发客户机连接 解决办法

    查询的脚本: select count(*) from v$process; --取得数据库目前的进程数. select value from v$parameter where name = 'pr ...

  4. PHP 统计中文字符串的长度

    中文网站一般会选择两种编码:gbk/gb2312或是utf-8. gbk编码下每个中文字符所占字节为2,例: $zhStr = ‘您好,中国!’; echo strlen($zhStr); // 输出 ...

  5. phalcon框架学习之router

    router定义 在DI中注册router的方法: $di->set('router', function(){ $router = new Phalcon\Mvc\Router(); $rou ...

  6. 搭建高性能计算环境(八)、应用软件的安装之gromacs

    1,下载安装新版本的gcc(高版本的gcc只是推荐使用的,系统自带的gcc4.4照样能正常编译.运行) wget http://ftp.tsukuba.wide.ad.jp/software/gcc/ ...

  7. 利用curl抓取远程页面内容

    最基本的操作如下 $curlPost = 'a=1&b=2';//模拟POST数据$cookie_file    =    tempnam('./temp','kie');//可选,保存ses ...

  8. wpf常见枚举收集

    Icons made by from www.flaticon.com

  9. [leetcode]_Longest Common Prefix

    问题:寻找最长公共前缀 思路:就是逐一检查每个string中的每一位,碰到不相等的时候,结束:每个string中这一位都相等,加入到common prefix中~ public String long ...

  10. Eval is Devil-MongoDB master/slave上运行Eval遇到的问题

    随便写一句,以免有跟我一样的人遇到这个问题. 驱动版本:MongoDB C# Driver 1.7.0 当在Master/Slave集群上使用Eval的时候,Eval操作只会在Master结点上运行, ...