473,466 Members | 1,374 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Remoting and net.sockets

I have a question as to when remoting should be used as opposed to net.sockets.
Nov 16 '05 #1
3 1565
hi

i would say use sokets and not remoting if you will send small volume of
data, and go for remoting while sending large objects of data. remoting
give you many nice features( like using IIS security with http channals).
sockets would allow you to get to a lower level but from my experience,
remoting performance is much faster
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC

Nov 16 '05 #2

"Lloyd" <an*******@discussions.microsoft.com> wrote in message
news:94**********************************@microsof t.com...
I have a question as to when remoting should be used as opposed to

net.sockets.

That is a rather broad question - and I'm sure you get a flood of responses
touting first one, then the other. Don't expect to get the *right* answer,
because the right answer will depend almost entirely on design requirements.
I suggest that you get a good book on .NET remoting.

Remoting allows you to create an object on a "remote" system, and call
methods on that object. The method calls could be to fetch data and return
to caller, but often the calls are to do processing on the remote machine
that either could not or should not be handled on the caller/client
machines. Remoting provides RPC/DCOM functionality to the managed .NET
application.

sockets allows you to send packets of data from one endpoint to another.
For large amounts of data, sockets may provide a performance advantage.

regards
roy fine

Nov 16 '05 #3
Well... I would go for Sockets if I want to send small amount of data
frequently else I'll stick to Remoting. Remoting takes a lot of time to
Serialize and DeSerialize for frequent small burst of data transfer.

Regards
Kiran

"Lloyd" <an*******@discussions.microsoft.com> wrote in message
news:94**********************************@microsof t.com...
I have a question as to when remoting should be used as opposed to

net.sockets.
Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dennis Owens | last post by:
I want to develop a Client/Server messaging system that does not require Microsoft messaging. I want to use the .Net remoting, but I am having some real problems with the remoting. The remoting...
0
by: Dennis Owens | last post by:
Read below for previous conversation. We are developing an application that will some day run on anything from a computer down to a PDA (this is were the Lightweight comes in). The messaging...
9
by: Michael Lindsey | last post by:
I need to write a server app to send images to client GUIs that are outside of the server's domain. The client will have the file system path to the image but can not access the file system. I am...
11
by: ajou_king | last post by:
I was running some tests on my Win32 1GHZ processor to see how long it would take to transmit objects numerous times via TCP/IP using C# ..NET Remoting vs the C++ trustworthy method of binary...
2
by: Ken Hughes | last post by:
Hi I'm looking for some advice on architecure - apologies if this is the incorrect group.. I'm writing a VB app and it has to pass data to a another server machine (in a different office)....
3
by: Mike9900 | last post by:
We need to get the correct error message from the .NET Remoting server on the another computer. When we use .NET Remoting the client does not receive correct SQL Server error message if the...
8
by: sandy82 | last post by:
I coded a simple example in c# In which their is a client and a server using a dll . I am confused on the Point that u have to use the .dll on both sides .Cant we have a solution of having a dll...
2
by: Rogier | last post by:
Hello, I want to make a client/server app, for a game. Where I can send object to and from the server. With this I mean the client can send an object to the server but the server can also send...
0
by: senpark15 | last post by:
Hi EveryBody, I am developing .net remoting application.I have Created server and client application. Server has installed on Two Pc's and cliient have to connect two Pc's and do some...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
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 ...

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.