server

Communicating applications without Event hooks.

I want to have my applications communicate to each other. I think something like a server-client model would suit me well, but I was also wondering if there was a different way. I want this way to not involve those windows event hooks. ...

How to save server state of CGI application?

I have a cgi web program (in C) that prints out different error messages to a log file. If the program is run again and runs into he same error, I do not want the same error message to log again. I'm looking at different options and any advice is appreciated. Thanks. -Cookie: unable to set cookie after the html <head> section has been p...

how to monitor a server (mapserver)

hello all, ¿how can I know that things have happened rafters or on my server?, I've had a problem with a server in my care and that can not be causing these errors because they are not replaced an archives of any kind and no has done nothing wrong in applying for any suggestions http://obtra.univalle.edu.co/obtra/index.php?site=carto t...

live streaming video in html 5 - What is required from server to stream and let other domains acsess that streams?

live streaming video in html 5 - what is required from server to stream and let other domains acsess that streams? any cross-domain-polyci files? any special streaming servers technologies/requirements etc? (I want LIVE streaming NOT FILE streaming)? (like shoutcast or what ever) ...

TFS: One big Application, divided by Add-Feature-Projects

We have got exact ONE big Source Safe Tree and ONE big Application. (about 7 years of development) Each of our projects is "only" to add features to that big application. The typical duration of those projects is from 1 week up to 4 months. Today we are using SourceSafe, communicate per EMail, paper and so on. The main problem is issue...

Python import MySQLdb, Apache Internal Server Error

I'm having a similar problem to that described in ".cgi problem with web server", although I reviewed and tested the previously suggested solutions without success. I'm running the same program on Mac OS X 10.5.8, Apache 2.2.13, using Python 2.6.4. I can successfully run the code in the python shell and the terminal command-line, but I...

high performance udp server. blocking or non-blocking? c

hi, i've been doing a lot of reading on blocking vs non-blocking sockets for udp, but am having a hard time understanding the merits of one over the other. the overwhelming majority of comments on the internet seem to indicate that non-blocking is better, but aren't very specific as to what scenarios they would be better in and i've foun...

how do I reregister with a sip server properly?

I currently have a SIP registration working proprly with Jain-SIP. I get the challenge, use MD5 on the nonce etc and send my reply. I then get the 200 OK message. So thats all fine. However I want to reregister automatically every X seconds depending on the expires time. To do this I have tried to use a timer to re run the code ever...

ASP.NET webservices in shared assemblies (DLLs)

We have some ASP.NET stuff (it's not delineated clearly enough to call it a component), that we'd like to clean up, and wrap some boundaries around, so that we can reuse it. There are really four parts to this, some markup, some C# code-behind, some javascript running in the browser, and a webservice method that is called by the javascr...

Export Plone users to LDAP?

Hi, I've been tasked with setting up a subversion server next to a Plone instance. The situation is that the Plone instance is already in a "production" state because there are outside users that can access it any moment. I believe setting up a LDAP and binding both, the Plone and subversion instance, to it for authentication is the be...

How do you efficiently handle reference counts between a server and clients?

Say a server stores objects with a reference count. Clients, when they connect (over sockets), send messages to increment and decrement the counts on those objects. The only behavior pattern that's guaranteed is that if a client works with a particular object, it will increment it, some time will pass, and it will decrement it (clients n...

Running a CAD viewer from server

Basically I'm looking for something that will allow users to open and modify dwf files in their browser (like the Autodesk Design Review allows users to open files in IE). But is there such a probgram that will run from a server, without the user having to install anything on their computer? ...

Authenticating servers - what's a good approach?

Edit Thanks for the suggestions; to clarify, we already use SSL, but that doesn't generally authenticate the requesting party, merely the responding party (IIRC?). I'll look into the other ideas right away, thanks for the brainstorm! Background The organization I work for has a heterogeneous bunch of servers providing various service...

winsock select based server

I need an example of select based server, which receives and sends data from/to a client. I prefer MSDN example but I could not find any on MSDN. There is a good one here; http://tangentsoft.net/wskfaq/examples/basics/select-server.html But my implementation is almost same, except for, I did not set ExceptFDs, it is null. I set select ...

How can I render a web page on the server (no GUI) for printing?

I'm trying to print pages pragmatically with a PHP script, to an office printer. Here's what I've got so far: I have a printer installed on the server, and I can send jobs to it with PHP via the command line's print command. I can also write plain text files with my PHP script, and then add them to the print cue. So printing PHP genera...

Suppose a server is hosting a video file. Why is it that sometimes, it requires a full download before playing. Sometimes, I can stream it?

Someone told me that some servers configure it that allow streaming of a file. OR Is it a file-encoding problem, not a server configuration problem? Given a link of the video file, how do I check if that person allows streaming (or play only once downloaded) ? Headers? ...

ColdFusion Server CFC Caching Issue

Hello, I develop coldFusion applications on my laptop with it's own ColdFusion 8 server with IIS which run on Windows Vista. I am having a rather annoying problem. The problem is whenever I make any changes to my CFC's, it appears that unless I restart my ColdFusion Application server, the changes to my CFC's will not take effect unti...

Can get move_uploaded_file to work

Cant seem to make php move_uploaded_file function to work. $MAX_FILESIZE = 5 * 1024 * 1024; $rEFileTypes = "/^\.(jpg|jpeg|gif|png|pdf|xls|xlsx|ppt|pptx){1}$/i"; $isFile = is_uploaded_file($_FILES["prodImage"]["tmp_name"]); if($isFile) { ...

script to pull info from windows Drive

Hi All, I need a script that could ran and pull information from any drive on a windows operating system (Server 2003), listing all files and folders which contain the following fields: Full file path (e.g. C:\Documents and Settings\user\My Documents\testPage.doc) File type (e.g. word document, spreadsheet, database etc) Size When Cr...

python Client hangs when no data to receive from server and hangs in that thread w/o letting client send.

I am trying to figure out how to get my client to send and receive data 'simultaneously' and am using threads. My problem is that, depending on the way I set it up, the way here it waits for data from the server in the recieveFromServer function which is in its own thread and cannot stop it when nothing will be sent. The other way it j...