Re: Messenger-Esque Windows Service: How Do Major Messengers Do It?

Tech-Archive recommends: Speed Up your PC by fixing your registry



On Jun 14, 8:03 am, "Jeff Hopper" <j...@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
plz> wrote:
How about something like this?http://www.eggheadcafe.com/articles/20020323.asp


Jeff,

This is very close to what I am envisioning. However, the IP address
of the tcpListener is known in this case. As I've done some research,
I can better state my needs:

1) A centrally located client will listen for a successful
connection / login from a desktop client or windows service on a
user's computer.

2) Once the login is successful, the central client needs to be able
to send requests to the desktop client for database information,
almost like a web service.

My major hangup is: How does the central client know what address to
send requests to? For example, a request sent to my external ip
address right now will hit my router, not my computer.

A followup question: Since the article you pointed out shows how to
respond once a connection is made, would it make sense to maintain a
persistent connection?

That article was a great step. Thank you very much for pointing me to
it.

-- Alex

.



Relevant Pages

  • Re: Learning how to use "Remote Login"
    ... for client connection requests. ... "listening", by your definition. ... who listens for client requests. ...
    (comp.sys.mac.system)
  • Re: Underlying connection was closed
    ... Because it is possible for an application to use the connection without being authenticated, you need to be sure that there is no security vulnerability in your ... If your application sends requests for multiple users and relies on authentication to protect ... I've written a client application which fires off multiple threads ...
    (microsoft.public.dotnet.framework.webservices)
  • SSL POST connection with client authentification dropped by IIS 5/W2000 Server
    ... We have a problem with a client installation when SSL POST connections with client authentification are sometimes dropped by IIS 5/W2000 Server. ... Drops means a TCP FIN sent by IIS once the client has finished sending his POST data, with not a single byte of data going from server to client. ... Except the exact length/content of the request, nothing differentiates those requests from the other requests that are going through all right. ... The client opens the connection, negotiates an SSL session, send the header data in one package, IIS requests to renegotiate the connection with an "HelloRequest", the client send the rest of the data, and after sending all of it begins renegotiation. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Learning how to use "Remote Login"
    ... for client connection requests. ... "listening", by your definition. ... who listens for client requests. ...
    (comp.sys.mac.system)
  • Re: 64K limit for socket send
    ... Service grants connection ... Client sends request ... service goes back to listening for connection requests ... ACK - the data stream could be such that the last full-MSS segment ...
    (comp.os.vms)