I would ask what the requirements are that are pushing you towards a TCP solution in the first place. Unless you need very high throughput there are much higher level abstractions that will give you what you need for far less effort.
What is the client built in? Is it WPF/Silverlight/WinForms/Something Else? Some other alternatives worth looking at (depending on what you actually need other than those already mentioned): WCF Web API http://wcf.codeplex.com/wikipage?title=WCF%20HTTP SignalR https://github.com/SignalR/SignalR/wiki Pigeon http://www.paulstovell.com/pigeon NServiceBus http://www.google.com.au/url?sa=t&rct=j&q=NServiceBus&source=web&cd=1&ved=0CDIQFjAA&url=http%3A%2F%2Fwww.nservicebus.com%2F&ei=LJ3MTvWlDuOUiAf9w63XDg&usg=AFQjCNFix3LktMIZJIz_m2l1JZIl3EWHpg Michael M. Minutillo Indiscriminate Information Sponge http://codermike.com On Wed, Nov 23, 2011 at 1:48 PM, Cuong Tong <[email protected]> wrote: > I would go with RCF, most of the complexities are abstracted away so it’s > pretty easy, and plus it is free.**** > > ** ** > > http://www.deltavsoft.com/**** > > ** ** > > ** ** > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Jano Petras > *Sent:* Tuesday, 22 November 2011 6:53 PM > *To:* ozDotNet > *Subject:* Re: Client /Server alternative for TCP**** > > ** ** > > Well, hosting you application under IIS would get rid of worries regarding > listeners and connections, if your system needs to follow regular REST > request/response pattern (that is, you don't need to keep the connection > open). > > > WCF is an option here as it supports REST, or - just plain ASP.NET or MVC > with some good REST library if you don't need all the bells and whistles > WCF provides. > > > My 2 cents, > jano > > **** > > On 18 November 2011 07:05, Anthony Mayan <[email protected]> wrote:**** > > Currently looking at building a client server app but thinking whether we > should use TCP. Could we we use rest service instead or another method?* > *** > > ** ** > > Want to avoid creating a multi-thread tcp listener to handle all the > connections...anyone have an suggestions?**** > > ** ** > > Anthony**** > > ** ** >
