C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2720
Number of posts: 5746

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
sending objects Posted by outlawhacker on 19 May 2003 at 12:35 PM
I want to send objects (packets??) from a client to server and vice versa. I've been told that I could create a dll-file to be able to send objects(?).
I've been searching the net but I don't really know what to look for??

I want to send different types, like int and string, and on the server side I use datareader to get the things I want from the object. (I'm using a database on the server side)

I would appreciate it sooooo much if someone could help me or at least say something like: you're way off, man! :-/
Report
Re: sending objects Posted by Dazed66 on 12 Jun 2003 at 9:58 AM
: I want to send objects (packets??) from a client to server and vice versa. I've been told that I could create a dll-file to be able to send objects(?).
: I've been searching the net but I don't really know what to look for??
:
: I want to send different types, like int and string, and on the server side I use datareader to get the things I want from the object. (I'm using a database on the server side)
:
: I would appreciate it sooooo much if someone could help me or at least say something like: you're way off, man! :-/
:

This can be done using either sockets or .NET remoting. I have never used remoting but here is a link to some information. At the bottom of the page is a sample of remoting.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/hawkremoting.asp





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.