阅读多播信息 [英] Reading Multicast info
本文介绍了阅读多播信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我必须编写一个从多播流中读取信息的应用程序.我以前从未使用过它,因此依赖于网络上的一些示例.我了解基本概念,但继续出现以下错误:
I have to write a application that read info from a multicast stream. I have never worked with this before, and thus relied on some examples from the web. I understand the basic concept, but keep on getting the following error:
Error 1 Program 'D:\DATA\Development\MY CLIENT DEVELOPMENT\2012\May\General\CustomRTD\obj\Debug\CustomRTD.exe' has more than one entry point defined: 'CustomRTD.Program.Main()'. Compile with /main to specify the type that contains the entry point. D:\DATA\Development\MY CLIENT DEVELOPMENT\2012\May\General\CustomRTD\Program.cs 15 21 CustomRTD
任何帮助将不胜感激.
问候
Any help will be much appreciated.
Regards
推荐答案
它告诉您在Program
类中您具有多个方法,具有部分签名public static void Main
.您只需在Program.cs
中使用一种具有此名称的方法.
It''s telling you that you have multiple methods in theProgram
class with the partial signaturepublic static void Main
. You need to have only one method with this name inProgram.cs
.
这篇关于阅读多播信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文