Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / May 2004

Tip: Looking for answers? Try searching our database.

High Speed Network Object Packing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tom - 13 May 2004 21:16 GMT
I have two computers that I want to pass objects of a couple different classes back and fourth at a high rate of speed (>60 Hz).   I'm looking for a good way to do this.  I've been playing with System.Net.Sockets and using XMLserialization and Binary Serialization....I was unable to figure out how to serialize the class multiple times over the same socket.  I could send one instance fine, but when I tried to do it more than once (at any speed) it said there was an error in the XML file (or binary error).  I'm assuming this is because XML.Serialization writes some kind of header to the stream, or it could be a timing issue.

Anyway, I'm looking for the method that people would recommend to transfer this object repeatedly.  I've heard SOAP and remoting are possiblities, but I don't know much about them and I'm not sure where to look to find stuff about them and high speed communication.  Thanks
Tom Kent :-)
Sahil Malik - 14 May 2004 08:31 GMT
For such high speed, my recommendation would be to steer clear of
webservices and remoting, and go straight to System.NET. If those 2
computers donot change with every transaction, you might consider creating a
listener on each maching, and a connection that stays open for the duration
of your communication. That'd be fast enough.

Regards serialization, BinaryFormatter serialized, send the bytes stream
over - shouldn't be a problem honestly.

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/

>I have two computers that I want to pass objects of a couple different
>classes back and fourth at a high rate of speed (>60 Hz).   I'm looking for
[quoted text clipped - 11 lines]
> stuff about them and high speed communication.  Thanks.
> Tom Kent :-)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.