Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / March 2005

Tip: Looking for answers? Try searching our database.

WSE Client Port with soap.tcp

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
microsoft - 20 Mar 2005 08:00 GMT
Hello,
I'm developing an WSE application which have two parts.
One part (server) is the service provider which have a well-known address
and port number to which the second part (clinet) is sending requests and
recive replies.

It is always the client which initate the request, and the server only reply
to the client. The server never sends messages to the client not for
response.

Both the client and the server have a SoapSender class and SoapReceiver
class which working with soap.tcp protocol. Also currently both the client
and the server use constant port numbers because I have to supply a port
number to the SoapReceivers.Add method or a default port will be assigned to
me by WSE.

I would like to know if there is a way to use a 0 port number in order for
Windows to supply to me a free availabe local port number for the client's
SoapReceiver instance.

Thank you very much,
Ido.
Yves Reynhout - 22 Mar 2005 23:32 GMT
> Hello,
> I'm developing an WSE application which have two parts.
[quoted text clipped - 18 lines]
> Thank you very much,
> Ido.

Judging from the code, when no port is specified the default port is
assumed which is not the same as a random port. Try to find a snippet
that basically gives you the next free port number...

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.