Web Services or Sockets?

Tech-Archive recommends: Fix windows errors by optimizing your registry



I am looking to create a Windows Forms application that would get
notifications from the server when data changes or it gets an instant message
from other users. This application would have to work at different sites
over the internet. The two technologies I am looking at are Web Services or
Sockets. Would it be okay to have a client (lets say 500 clients) poll a web
service every 5 seconds for messages? The messages will be stored in a MSMQ
queue on the server and returned to the client through the web service
call. This is the direction I would like to go for several reasons. Reason
one; I don’t have to worry about the socket programming. Reason two is that
some of the clients might be mobile going in and out of coverage breaking the
socket connection.

So my question is will polling the service be too much network traffic?
Does polling a web service utilize more server recourses then streaming
sockets? I am thinking it will, but I am hoping somebody will tell me
otherwise!

Thanks for any help or information!

.



Relevant Pages

  • Re: Banana Republic (was Re: OpenVMS Book Wins award)
    ... client ... No bollocks HTTP, SOAP, XML, Java, Garbage ... receive messages from any number of server processes who in turn could be ... Unlike TCP/IP and/or UDP Sockets with Java that have been around since ...
    (comp.os.vms)
  • Re: Still Need desperate help to start with ASP NET - simplified problems - HELP!!
    ... You could do it as a web service. ... The handler can draw on the webservice for information and db lookup. ... IE posts data AJAX to handler on web server ... featured application (say thick client) which does a lot of complicate ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Asynchronous socket programming vs. remoting
    ... You are the first person that said I should use sockets. ... them quicker than I can load them from my harddrive using the file system. ... It scales nice too - I tried throwing 400 requests at the server in a span ... > do not need the same assembly on the client and server. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Impersonated login to web service from outside domain
    ... the client is part of the domain group. ... : integrated windows auth fails. ... You can try creating an identical local user on the server (as the one you ... next call to the web service (ie. the process requiring the credentials to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Unable to access AS2k from Win 2k m/c URGENT!!!!!!
    ... No, the Win2k machine just needs to have XMLA SDK and/or ADOMD.NET, MSXML4 ... > Analysis server need more credentials than specified in my ... the same machine as the ADOMD.NET client. ... Why do you need this web service ...
    (microsoft.public.data.xmlanalysis)