473,657 Members | 2,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Event handling over a peer-to-peer remoting system

6 New Member
I'm developing a multi-player game in C#. Player A hosts a "game room" and creates a game object. Then players B and C gain remote access to that object over a TCP connection. (Assume everyone knows everyone else's IP address). My issue is that player C's UI needs to be updated when player B calls a function on the remote game object. When the program tries to register player C's handler onto the game object's event, I get an exception telling me that my security settings are too low for deserialization .

(Specifically: Type System.Delegate SerializationHo lder and the types derived from it (such as System.Delegate SerializationHo lder) are not permitted to be deserialized at this security level.)

The message suggests using security certificates to get around all this, but I don't know how this is done. Can someone instruct me on how to get this working? I would really rather not have the host player have to gain remote access to each other play so it can call some "updateUI" function on each player.
Jul 4 '07 #1
0 744

Sign in to post your reply or Sign up for a free account.

Similar topics

0
2275
by: Jeffery B. Rancier | last post by:
I've poked around on the MSDN site, and found most process management/thread management stuff, but no signal processing/event handling/processing stuff. Any good links? -- Thanks, Jeff ,---- | Jeffery B. Rancier
3
2071
by: Ashok Kumar K | last post by:
Hi all, Where can I get some insight on using the __hook, __unhook, event_source and event_receiver for specifically COM events. The documentation given in MSDN is very minimal. I have the following scenario Server (COM event source) is written in VC++ 6.0 using ATL (event interfaces can be either dispinterface / IDispatch based) Client (COM event receiver) is written in VC++ 2003 using attributed programming and unified event handling
7
307
by: Ankit Aneja | last post by:
i am using com dll in my project which fires up event code in vb is like this Option Explicit Dim WithEvents p As CLAMXLib.ClamEngine Dim mresult As ClamResult Private Sub p_OnScanComplete(ByVal result As CLAMXLib.IClamResult) Set mresult = result End Sub
2
967
by: mkhmer | last post by:
May anyone give me the URL or explaint me some about how ASP.net handling all the event provided? I mean the event handling life cycle, step by step. I'm appreciate your kindly help. MKhmer
3
1380
by: Tony | last post by:
I have a WebApp with 3 text boxes and 1 button, as described below. Can someone please explain why the bad scenarios are occurring and better still if they can be prevented or worked-around? Please excuse my lengthy message. +++ Web Form Structure +++ TextChanged event wired up.
4
2085
by: reggiestyles | last post by:
Hi, I've got a question about prototype and event handling. I've got several div's (dynamic number) on a page that I want to set as active or inactive (basically, I'm using scriptaculous' Effects to set Opacity to 1 for the active div and 0.5 for the inactive ones). Using prototype's event handling, I can see two ways to get this done:
0
930
by: lipsa | last post by:
if you have any link which explains both raising of event by user control and handling it on parent page,plz let me know.
4
1830
by: =?Utf-8?B?bXIgcGVhbnV0?= | last post by:
Usually when a method is executing and an event occurs the event handler executes then the thread is returned to the original method. I have a case where I want my event handler to cancel execution of any existing methods in process. Is there a way?
1
1442
by: successgac | last post by:
//I have the event declerations as follows down in a separate class file public event CommandEventHandler PageNumberClicked; //I have created link button dynamically using the following C# code which is also available in the same class HtmlTableCell htcPageNumber = new HtmlTableCell(); htcPageNumber.Attributes.Add("valign", "middle"); LinkButton lnkNewPageLink = new LinkButton(); ...
6
3463
by: AB | last post by:
Hi, I have a listbox and a webbrowser control. For each single item selected I am generating a different web page. However for more than one selection, a common web page gets generated. I am handling the event in Listbox selectedindexchanged. It is working well with a single selection. if I am making multiple
0
8392
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8305
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8726
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7320
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1944
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1604
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.