server

QLocalServer with multiple clients -- proper handling

I'm trying to make IPC work between one server to accept requests from multiple clients with Qt 4.6. All is working, except that the underlying named pipes are not being closed, making Qt to emit the maximum handle reached message (62). Since I want to accept several client connections, I handle newConnections to the QLocalServer class ...

c# using monthcalendar or datetimepicker in terminal server

I have a form with a datetimepicker on it which runs fine locally when I run my program from a terminal server the calendar in the datetimepicker seems to be a lot larger than when run locally this behaviour is the same if i use a month calendar control instead it seems that there is an issue with terminal server with regards to displ...

WebSphere Applicatin Server free edition

Is there WebSphere Applicatin Server free edition available for non-production usage. I don't mean WebSphere Applicatin Server Community edition, which is WAS bannered Apache Geronimo AS. If making no mistake i had seen it somewhere on IBM DW site, but can't locate any more. Thanks a lot! ...

Help using MINA with Eclipse - Newbie question

Hello, Java newbie here. I've downloaded the JAVA Eclipse IDE and started learning Java. I have a good experience with PHP, C, C++ and AS3 programming languages so the concep of OOP is known to me, now I've decided to learn and use Java. I'd like to test some examples of Apache's MINA framework but I still can't figure out how to set u...

Setting up a proxy server

Hi, So I have a server set up (LAMP) server, this proxy has access to the internal network and I need to give the outside world access to this proxy in order to perform tasks. For example, you should be able to call that proxy with a POST request with the right parameters and the proxy should return the status of that post. Now let's s...

Any dedicated servers that serve up JSON?

I'm looking to retrieve json from a dedicated server. It will be used to verify client to server communications in my Ajax monitor application. [EDIT] LOL! Even I couldn't of begun to answer this vague question. Sorry was in a rush when asking question. Context: The ajaxMonitor program wraps the JQuery.ajax function. It is a plug-in...

fixed -Java Applet not loading - Client/Server

OK so I have this server and an applet... the server loads fine because It can detect when a new user loads up the client and connects... ANYWAYS.... the problem is that the Applet will not load... like... it is STUCK at the loading screen.... Here is a video explanation of my problem if you'd like: http://vimeo.com/13692709 (watch the ...

basic python server using spawn/threads....

Hi. Got a problem that I'm facing. and it should be pretty simple. I have an app that places data into a dir "A". The data will be a series of files. I want to have a continually running server, that does a continual look at the dir, and on seeing a completed file in the dir, the server spawns/forks/creates a thread (not sure of the e...

Which protocol to choose for a turn-based game server

I am writing a game server for a turn-based game in Java. These are the facts: The speed of the game is slow, so clients need to send data let's say every 8 seconds, and that data is most of the time only a small incremental update (a few dozen bytes), aside from situations like join of the game or list available games etc. The server ...

How to handle File Server unavailable errors

I need to know how to recover from the following error: Windows service is accessing a file on a network server. The network crashes, server goes down or becomes unavailable. I need the service to wait until the server is back on line to continue processing the files. What should I use to do this? I figure I can trap the server un-avail...

Fork and exit in Python

This code is supposed to try and start a server process and return. If the port was taken, it should say "couldn't bind to that port" and return. If the server started, it should print "Bound to port 51231" and return. But it does not return. import socket from multiprocessing import Process def serverMainLoop(s,t): s.listen(5) ...

Should i use Smarfox Server for flash or can i build my mini java server

is it possible for me to build a server in java so that i can let my different flash clients communicate with each other? ...

Websphere vs jboss

Hi, I m going to use webservice , jbpm, hibernate and spring so which application server is better to use? Websphere vs jboss? please descrivbe reason..... ...

How to restrict access file from Apache Server?

If I allow user to upload file, after user uploaded the file, the file will go to wwww.someplace.com/public_file/... .... So, everybody can get access the file. But I would like to make some restrictions on that. For example, I want to reduce the downloading speed for non-login users. How can I do that? Also, if I want to limit th...

Server Redirect from example.html to script.php?url=example

I have a really convoluted website that I need to work on. I was thinking on creating a single "home" php file that includes the main stuff (menu, sidenav, head, etc) and inserting the content for every page. I already have the content from all the pages separated so I have a duplicate of the site where all the html files have only the i...

How to create a new Server Instance on MySQL Workbench 5.2.25 CE

Hi, I've just setup MySQL Workbench 5.2.25 CE on a PC with windows XP service pack 3 When trying to create a new server instance on the localhost, Workbench ask me for a root password regarding the service. I've have not been asked during the setup process to enter a password for root... leaving the password blank (or even inputting a ...

Problem with using curl on another server

I am having a problem with PHP's curl. So I have a file on an ubuntu server that is called: example.php this file has the following code: <?php $url = "some url that returns xml"; $curl = @curl_init ($url); @curl_setopt ($curl, CURLOPT_HEADER, FALSE); @curl_setopt ($curl, CURLOPT_RETURNTRANSFER, TRUE); @curl_setopt ($curl, CURLOPT_...

How do I redirect into a new browser window after server side validation suceeds with javascript?

I have a form that needs to put its results into another window. I am using: It has both client and server side validation. The problem is when the server side validation fails, it puts the resulting error screen in the new window rather on the original page (as it should). What I'm trying to figure out is how to have the server sid...

python twisted tutorial/question

Hi guys... Got a simple question regarding twisted. I can create a trivial basic test with a web server like apache, where http://foo.com/index.php instantiates the index.php for the "foo" site/app... I'm trying to figure out how the heck I can create a twisted server, where I run different backend functions based on the input! I kno...

question comparing multiprocessing vs twisted

Hi. Got a situation where I'm going to be parsing websites. each site has to have it's own "parser" and possibly it's own way of dealing with cookies/etc.. I'm trying to get in my head which would be a better choice. Choice I: I can create a multiprocessing function, where the (masterspawn) app gets an input url, and in turn it spans...