server

How can i stream CCTV camera to iphone from windows.

Hi, I am trying to build an iphone app that connects to an IP camera. The IP camera is windows based to i need to create a server using c++ and then stream the video to the iphone app. Can anyone tell me the best way in going about this task. I am new to programming so a dummies type guide would help. Thanks Inam ...

Ruby ultra simplistic mail server

I am trying to create a simple ruby mail server ( SMTP server) just or fun. I tried the code in the http://snippets.dzone.com/posts/show/3932 I am not able to sendmail from my machine. I also posted comment there but no reply ;(. Can any you please help me by giving a pointer or a simple ruby smtp server that can send mail to my gmail...

How to install and activate ImageMagick (imagick) with Zend Server?

I'm trying to install and activate ImageMagick with Zend Server (on Ubuntu Server Linux), how could achieve it? (the documentation does not say how to add extra extensions) ...

How to get the disk space on a server ?

Hi, I should to develop a web-application in php for a firm, and I need to know the disk free space of the server. At the moment, I'm able to obtain the free disk space of this kind : $quota="104857600"; //100Mb : (100*1024*1024) after, I do the difference between $quota and my size variable. So, in this case, I must to write the ...

How to write simple SMPP server

I want to write a simple SMPP Server that basically forwards traffic to another SMPP server (C#, PHP). What are the things I need to know? How do I proceed? ...

Saving image to server with php

Hey i have the following script, basicaly a flash file sends it some data and it creates a image and then opens a save as dialog box for the user so that they can save the image to there system.Here the problem comes in, how would i go about also saving the image to my server? <?php $to = $_POST['to']; $from = $_POST['from']; $fname = ...

J2SE Client Server App: Client calls RMI method. Server handles RMI method and returns, but Client never receives it. Any ideas?

J2SE Client Server App: Client calls RMI message. Server handles RMI method and returns, but Client never receives it. Any ideas how this could happen? Our attempted solution is to set client read timeouts and come up with a framework for resending requests or otherwise handling those failures gracefully. But really, I'd like to k...

File size in Python server

We have server on Python and client + web service on Ruby. That works only if file from URL is less than 800 k. It seems like "socket.puts data" in a client works, but "output = socket.gets" - not. I think problem is in a Python part. For big files tests run "Connection reset by peer". Is it buffer size variable by default somewhere in a...

Getting the directory of an uploaded file with perl

Hello, I have a Perl script which will allow for a file to be uploaded to my server. I'm not completely done with it yet, but I would like to know, if there is any way for me to get the full path of a file i uploaded. Shouldn't this be possible by checking the PATH_INFO environment variable, but when i try to check the path info, nothing...

turbogears 2.0 development server on windows

How do you make the server go offline or restart it in turbogears ? I typed "paster serve development.ini" for it to go online. After it goes online, the cursor is there in dos window but nothing I type is displayed. ...

Can a Winforms/WPF app act as HTTP server?

Hi, I have a desktop written with Winforms. Now I have requests that people want to access the data from other machines. First I thought about a regular Client/Server app but now I think best would be if the app could act as HTTP server and send HTML to connected browsers. Does anybody know if there is a library available to add HTTP s...

Webcam service for a website: user to user, directly, is it possible?

Hello everyone I wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server. In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloadin...

Windows Media Encoder object not created in ASP.NET on MS Server 2003 64 bit

Hello, I created (and used) a Windows Media Encoder object in Microsoft Visual C# 2008 Express Edition on MS Server 2003 64 bit. This worked fine. However, when I attempted to create the equivalent Windows Media Encoder object using Microsoft Visual Web Developer 2008 on MS Server 2003 64 bit, the following exception was thrown: "Ret...

FTP List format

Hi, I'm writing an embedded ftp server, and I cannot get the listing format correctly. The server works completely, only programs like FileZilla cannot interpret the listing format. Here's a sample listing: -rwxr--r-- 1 owner group 640 1970 01 01 test -rwxr--r-- 1 owner group 13440 1970 01 01 test.html -rwxr--r-- 1 own...

IE6 turns jar into zip

Using windows server, I have a path to a file that, when you click the button, executes the jar file and runs the program. At least in firefox. The problem occurs with IE6. It takes my file.jar and turns it into file.zip. Any suggestions here? ...

Python sock.listen(...)

All the examples I've seen of sock.listen(5) in the python documentation suggest I should set the max backlog number to be 5. This is causing a problem for my app since I'm expecting some very high volume (many concurrent connections). I set it to 200 and haven't seen any problems on my system, but was wondering how high I can set it bef...

What is the Lua equivalent of Twisted Python, Eventmachine for Ruby, NIO for Java, etc.?

What is the Lua equivalent of Twisted Python, Eventmachine for Ruby, NIO for Java, etc.? If there is none, how does one do non-blocking event-based network I/O? In general, how does one solve the C10K problem in Lua? Thanks! ...

What is a good program to test server load with X number of users?

I have a PHP web application, and I want to test out the load when 100+ users are connected at the same time. Is there a program out there that would allow 100+ virtual users to hit my webpage? I did find one, but it was $3000. I don't mind paying, but not quite that much. ...

the coding problem in server

$fp = fopen("http://feeds.reuters.com/Reuters/PoliticsNews?format=xml","r") or die("Error reading RSS data."); The above coding working correctly in localhost;;; but in server display "Error reading RSS data."... i dont know why.... anybody please explain me... i am waiting... thanks ...

faking a filesystem / virtual filesystem

I have a web service to which users upload python scripts that are run on a server. Those scripts process files that are on the server and I want them to be able to see only a certain hierarchy of the server's filesystem (best: a temporary folder on which I copy the files I want processed and the scripts). The server will ultimately be ...