Difference between .NET Remoting and Aysnchronus sockets

G

Guest

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
 
N

Nicholas Paldino [.NET/C# MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top