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

Mutiple Instance of Single EXE - VC++

P: n/a

Hi,

My Application listening to a port of my machine and it response
with data to the requesting system. This application is provided as
a service in my machine.

Now i am planning to have more than one instance of this application
listening to the input request.How sholuld create multiple instance
of the application.Is is possible to have same port for listening for
all the instances.

Thanks in advance,

Varadha
--
Posted via http://dbforums.com
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
varadha wrote:
Hi,

My Application listening to a port of my machine and it response
with data to the requesting system. This application is provided as
a service in my machine.

Now i am planning to have more than one instance of this application
listening to the input request.How sholuld create multiple instance
of the application.Is is possible to have same port for listening for
all the instances.

Thanks in advance,

Varadha
--
Posted via http://dbforums.com


Instances of applications are an operating systems issue and best
discussed in a newsgroup dedicated to your operating system.

--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 19 '05 #2

P: n/a

i will be Using the VC++ code for creating instance of the application.

Is is possible for me to create a Mutiple thread's application that will
listen to single port (listening is dine using using the bind function.)

Thanks in Advance

Varadha
--
Posted via http://dbforums.com
Jul 19 '05 #3

P: n/a
varadha wrote:
i will be Using the VC++ code for creating instance of the application.

Is is possible for me to create a Mutiple thread's application that will
listen to single port (listening is dine using using the bind function.)


You need a group that discusses VC++ or Windows programming. Please read
the welcome message for this group in order to avoid future off-topic
posting:

http://www.slack.net/~shiva/welcome.txt

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.