473,322 Members | 1,806 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Difference between .NET Remoting and Aysnchronus sockets

Hi,

I am writing a C# server app that listens for clients over a TCP/IP link.

The clients are embedded devices with their software written in C.

The clients establish connections and then send a series of data which my
server will process.

My server will be able to simultaneously handle 20 clients.

I havent done much TCP/IP programming and was wondering what is best way to
handle this?

..NET remoting or Asynchronus Sockets and what is the difference.

I'd appreciate any advice.

Thanks In Advance
Macca
Feb 2 '06 #1
1 2394
Macca,

You really don't have a choice, you have to use sockets. The reason for
this is that remoting doesn't use an open protocol. Because the embedded
devices are in C (and not running the framework), you don't know what to
send on the wire, so your server objects wouldn't get any notification.

You have to use sockets, or some other custom mechanism (or a mechanism
which has an implementation in C and in .NET).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Macca" <Ma***@discussions.microsoft.com> wrote in message
news:F4**********************************@microsof t.com...
Hi,

I am writing a C# server app that listens for clients over a TCP/IP link.

The clients are embedded devices with their software written in C.

The clients establish connections and then send a series of data which my
server will process.

My server will be able to simultaneously handle 20 clients.

I havent done much TCP/IP programming and was wondering what is best way
to
handle this?

.NET remoting or Asynchronus Sockets and what is the difference.

I'd appreciate any advice.

Thanks In Advance
Macca

Feb 2 '06 #2

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

Similar topics

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...
3
by: Lloyd | last post by:
I have a question as to when remoting should be used as opposed to net.sockets.
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: needin4mation | last post by:
What is .NET remoting versus Ajax? Any links are appreciated. I didn't find a straight forward answer. Thanks for any help.
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)....
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
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.