--- Tim Funk <[EMAIL PROTECTED]> wrote:
> You can't. That is because the context runs in some
> type of service 
> which will present you with the requests. So only at
> request time can 
> you know the hostname and port number of the server.
> 

Thanks for the info. I understand - the context is at
a lower layer. Let me explain my problem, may be you
can suggest me a soln.

I have some funcionality available on my server that
is supposed to be used by clients over network(http).
Now to demonstrate this I have some sample clients
within my server, how are these supposed to connect to
the server? I need the hostname & port to construct
the server URL at beginnning of my web application,
and make it available to the sample clients to use.

How is this kind of a problem typically approached?

Thanks
rf

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to