Solved

Linux to windows client server application?????

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Debian 3.16.7 3 139
Replication of Nagios surveilance data 2 91
KVM vs  Qemu 4 104
Shell script for mvn build 2 69
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now