Solved

Linux to windows client server application?????

Posted on 2001-06-26
4
163 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
Comment Utility
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
Comment Utility
Well, what's wrong with the clients sending a HTTP_GET request to the web server?
0
 
LVL 20

Expert Comment

by:jmcg
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

743 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

12 Experts available now in Live!

Get 1:1 Help Now