Solved

Linux to windows client server application?????

Posted on 2001-06-26
4
168 Views
Last Modified: 2010-04-21
Hi experts,
I have a linux server and windows clients.Clients need to send messages to other clients .These
messages do not go directly to the destination .These messages have to be processed at the
centralserver(linux) and sent to the destination clients.
   I do not want to use browser at the client side. All client applications are vc++ socket
applications. At the server side i want to make use of Apache WebServer.
   Now my questions are
1. i have an option of writing cgi program using Perl(or some other scripting language) at the server side. But i do not know how to invoke it without using get or post methods at the client side.So how to go about it.
2. Is there any alternate method other than my option to implement the above idea.

   I want to use Apache because number of clients may exceed hundred and number of messages per day
will be in thousands per day.To implent the multithreaded server and blah blah blah.....(this
itself will become a big project for me).
   Any ideas and any alterations please suggest.
   Most viable and good suggestions only will be rewarded with maximum marks.
sai
0
Comment
Question by:PSRISAIHARI
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 3

Accepted Solution

by:
superschlonz earned 100 total points
ID: 6235549
If you use a webserver the clients can send
a message (GET POST or PUT) to it but the
webserver cannot send it to the other clients.
All clients would have to ask the webserver
periodically for new messages. THis would be
very hard work for the serverside.

Building an server application for doing the
job is easy (if the messages aren't too big).
You don't need threads, they are inefficient.
Read the man page of select. With this system
call it's easy to handle 100 ore more sockets.
0
 
LVL 5

Expert Comment

by:djbusychild
ID: 6241190
Well, what's wrong with the clients sending a HTTP_GET request to the web server?
0
 
LVL 20

Expert Comment

by:jmcg
ID: 9868899
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

Accept: superschlonz {http:#6235549}

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jmcg
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question