473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Messages

Thank you in advance for reading this.
I need to have two applications send messages over the network to each
other. Basically one server application and (possibly) many client
applications. I am using VS 2003. What choices do I have when it comes
to implementing this. I am currently using (and it is working) the
TcpClient but would like to know what other choices are out there.

Thanks again!

Oct 30 '06 #1
4 1082
"It depends". It depends on your requirements for what would be a good
choice for sending messages.

I have a solution that has many distributed client applications and one
central server. In my scenario I need to have messages routed from one
client to another and I need to make sure that the messages arrive. To
accomplish that I use MSMQ. It is quite trivial and has more than
adaquate performance for what I need. The solution works by each
client registering themselves with the server via a well known private
queue name. When the server needs to communicate to a client it looks
up its computer name and sends a message to the client on a well know
client queue name.

There are more choices but you would be well served to identify more of
your requirements.

Steve

unwantedspam wrote:
Thank you in advance for reading this.
I need to have two applications send messages over the network to each
other. Basically one server application and (possibly) many client
applications. I am using VS 2003. What choices do I have when it comes
to implementing this. I am currently using (and it is working) the
TcpClient but would like to know what other choices are out there.

Thanks again!
Oct 30 '06 #2

FishingScout wrote:
"It depends". It depends on your requirements for what would be a good
choice for sending messages.

I have a solution that has many distributed client applications and one
central server. In my scenario I need to have messages routed from one
client to another and I need to make sure that the messages arrive. To
accomplish that I use MSMQ. It is quite trivial and has more than
adaquate performance for what I need. The solution works by each
client registering themselves with the server via a well known private
queue name. When the server needs to communicate to a client it looks
up its computer name and sends a message to the client on a well know
client queue name.

There are more choices but you would be well served to identify more of
your requirements.

Steve

unwantedspam wrote:
Thank you in advance for reading this.
I need to have two applications send messages over the network to each
other. Basically one server application and (possibly) many client
applications. I am using VS 2003. What choices do I have when it comes
to implementing this. I am currently using (and it is working) the
TcpClient but would like to know what other choices are out there.

Thanks again!


Steve,
Thank you for your response. Basically what needs to be done is the
following:
Client sends a message to the server. Based on what is in the message,
the server will perform an action (update db, write text file, send
email,...) Then the sever sends a message back to the client stating
success or failure.

I would greatly appreciate any feed back you might have based on this
information.

Thanks again.

Oct 30 '06 #3
unwantedspam,

It sounds like one option would be to use a Web Service.

Kerry Moorman
"unwantedspam" wrote:
>
FishingScout wrote:
"It depends". It depends on your requirements for what would be a good
choice for sending messages.

I have a solution that has many distributed client applications and one
central server. In my scenario I need to have messages routed from one
client to another and I need to make sure that the messages arrive. To
accomplish that I use MSMQ. It is quite trivial and has more than
adaquate performance for what I need. The solution works by each
client registering themselves with the server via a well known private
queue name. When the server needs to communicate to a client it looks
up its computer name and sends a message to the client on a well know
client queue name.

There are more choices but you would be well served to identify more of
your requirements.

Steve

unwantedspam wrote:
Thank you in advance for reading this.
I need to have two applications send messages over the network to each
other. Basically one server application and (possibly) many client
applications. I am using VS 2003. What choices do I have when it comes
to implementing this. I am currently using (and it is working) the
TcpClient but would like to know what other choices are out there.
>
Thanks again!

Steve,
Thank you for your response. Basically what needs to be done is the
following:
Client sends a message to the server. Based on what is in the message,
the server will perform an action (update db, write text file, send
email,...) Then the sever sends a message back to the client stating
success or failure.

I would greatly appreciate any feed back you might have based on this
information.

Thanks again.

Oct 30 '06 #4

Kerry Moorman wrote:
unwantedspam,

It sounds like one option would be to use a Web Service.

Kerry Moorman
"unwantedspam" wrote:

FishingScout wrote:
"It depends". It depends on your requirements for what would be a good
choice for sending messages.
>
I have a solution that has many distributed client applications and one
central server. In my scenario I need to have messages routed from one
client to another and I need to make sure that the messages arrive. To
accomplish that I use MSMQ. It is quite trivial and has more than
adaquate performance for what I need. The solution works by each
client registering themselves with the server via a well known private
queue name. When the server needs to communicate to a client it looks
up its computer name and sends a message to the client on a well know
client queue name.
>
There are more choices but you would be well served to identify more of
your requirements.
>
Steve
>
unwantedspam wrote:
Thank you in advance for reading this.
I need to have two applications send messages over the network to each
other. Basically one server application and (possibly) many client
applications. I am using VS 2003. What choices do I have when it comes
to implementing this. I am currently using (and it is working) the
TcpClient but would like to know what other choices are out there.

Thanks again!


Steve,
Thank you for your response. Basically what needs to be done is the
following:
Client sends a message to the server. Based on what is in the message,
the server will perform an action (update db, write text file, send
email,...) Then the sever sends a message back to the client stating
success or failure.

I would greatly appreciate any feed back you might have based on this
information.

Thanks again.

Kerry,
Thank you for your feedback. I had thought of using a web service. The
issue I had was how do I tell that the server has finished processing.
Would I need to "pull" the web service on a set interval.

Any further information on using this approach would be greatly
appreciated.

Thanks Again!

Oct 30 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: lothar | last post by:
i want to traverse a set of messages in a Yahoogroups group from a Python program. to get to the messages of the group, one must log in. this presents, i think, two problems, 1) handling the...
0
by: piyush | last post by:
Sorry for repeated posting but I couldnt get things right/completely in the first post. I am in the process of deciding the IPC mechanisms to use for communication between 1) An application...
5
by: Adam | last post by:
Hi, How do i listen for windows messages in c# on compact.net? I have a window containing an instantiation of the HTML viewer control, which is a child of the main form. As the compact...
0
by: piyush | last post by:
Sorry for repeated posts, I couldnt get things right and complete in the previous post. I am in the process of deciding the IPC mechanisms to use for communication between 1) An application...
5
by: zorhel | last post by:
Hi. My clients will be IE, Mozilla and Opera in a Windows and *nix OS. So, my web app need to, from a server, send messages to a specific client (browser), send messages for all clients,...
7
by: ucfcpegirl06 | last post by:
Hello, I have a dilemma. I am trying to flag duplicate messages received off of a com port. I have a software tool that is supposed to detect dup messages and flag and write the text "DUP" on...
0
by: neonspark | last post by:
I'm buidling some simple macro functionality for my app so the users can record a sequence of keyboard inputs and replay them reliably via some menu. Originally, I used: protected override bool...
26
by: Charlie Gordon | last post by:
Keith Thompson wrote this by private email: I've open an account with motzarella.org, and your last post does not show up there either. As a matter of fact, your messages show up on a very...
1
by: CodeSeeker | last post by:
I have an application, which uses pop3 to read the messages from the mailbox, and it has been working fine for so many year. We recently have started changing this application to use java mail IMAP 4...
18
by: Grant Edwards | last post by:
Could whoever is responsible for the gateway that is grabbing my postings off of Usenet and e-mailing them out please fix the headers in the mail messages so that I don't get the bounce messages?...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.