471,570 Members | 940 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,570 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 2337
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Dennis Owens | last post: by
3 posts views Thread by Lloyd | last post: by
9 posts views Thread by Michael Lindsey | last post: by
2 posts views Thread by needin4mation | last post: by
8 posts views Thread by sandy82 | last post: by
2 posts views Thread by Rogier | last post: by
reply views Thread by senpark15 | last post: by
reply views Thread by XIAOLAOHU | last post: by
reply views Thread by lumer26 | last post: by
reply views Thread by Vinnie | last post: by
reply views Thread by lumer26 | last post: by

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.