Solved

Linux to windows client server application?????

Posted on 2001-06-26
4
166 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mounting Linux Partition.... 30 362
How do I delete this file in Linux 2 457
what is this linux system is? 16 119
Help with a backup script in Linux 4 76
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

789 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