By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,187 Members | 1,629 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,187 IT Pros & Developers. It's quick & easy.

smart (windows forms) client control of local port used

P: n/a
How can the outgoing port of the client be configured, for example, to be
within a range when communicating with a webservice (NOTE: not the server
port in the url) ?

I have a webservice client derived from SoapHttpClientProtocol, but cannot
find any way of setting a port at runtime by code or by client config file.
Nov 23 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"=?Utf-8?B?U2ltb24gRG93ZGVzd2VsbA==?=" <Simon
Do********@discussions.microsoft.com> wrote in news:E6E79A3D-9CE5-4D95-A985-
F3**********@microsoft.com:
How can the outgoing port of the client be configured, for example, to be
within a range when communicating with a webservice (NOTE: not the server
port in the url) ?
Why not the server port in the URL? Thats how you specify the port.
I have a webservice client derived from SoapHttpClientProtocol, but cannot
find any way of setting a port at runtime by code or by client config file.


I posted an example just yesterday how to change the URL for a client, and
thus the port as well.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"

Blog: http://blogs.atozed.com/kudzu
Nov 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.