Solved

Linux to windows client server application?????

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
understanding an rpm spec file 5 67
add some character at the end of line in vi 7 105
WiFi Router device supports GPON! 3 110
bash file 10 62
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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

685 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