server

Python socket error on UDP data receive. (10054)

I currently have a problem using UDP and Python socket module. We have a server and clients. The problem occurs when we send data to a user. It's possible that user may have closed their connection to the server through a client crash, disconnect by ISP, or some other improper method. As such, it is possible to send data to a closed sock...

How to get the client ip address in ASP.Net MVC?

hi guys, i'm totally new to the asp.net mvc stack and i was wondering what happened to the simple Page object and the Request ServerVariables object? basically what i wanted to do is to pull out the client's pc ip address. but i fail to understand how the current MVC structure has changed all of this. as far as i can understand, most o...

Post microphone input from Flash to server

We're trying to get microphone input in a Flash movie and the post it to the server so it can be saved in a file. Currently, we're using PHP in the server, but I guess the key thing here is: How to post the audio to the server? After a post is made, then I guess it'd be a matter of handling the encoding and saving to a file, which can ...

Live Updating Widget for 100+ concurrent users

Hi there what would you use if you had to have a div box on your website that would have to be updated constantly with new HTML content from the server. simple polling is probably not very resource inefficient - imagine also having 10'000 users and the div has to update. what is the most efficient or elegant solution for such a proble...

Decrypting data from a secure socket

I'm working on a server application in Java. I've successfully got past the handshake portion of the communication process, but how do I go about decrypting my input stream? Here is how I set up my server: import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; import java.util.Hash...

Whois list of Top Level Domain against their corresponding registrar

I'm trying to find a list of TLD's to their corresponding whois server, for example .com americanWhoisServer .net someOtherWhoisServer .au australianWhoisServer In the end i'm aiming for something like a Dictionary where the key is the TLD and the value is the whois server address (eg whois.apnic.net). Ah snap, i just realised that i ...

Implement a server that receives and processes client request(cassandra as backend), Python or C++?

I am planning to build an inverted index searching system with cassandra as its storage backend. But I need some guidances to build a highly efficient searching daemon server. I know a web server written in Python called tornado, my questions are: Is Python a good choice for developing such kind of apps? Is Nginx(or Sphinx) a good exam...

Is 'epoll' the essential reason that Tornadoweb(or Nginx) is so fast?

Tornadoweb and Nginx are popular web servers for the moment and many benchmarkings show that they have a better performance than Apache under certain circumstances. So my question is: Is 'epoll' the most essential reason that make them so fast? And what can I learn from that if I want to write a good socket server? ...

how to run soap using apache tomcat

please help me i am new to this field ,i downloaded activation.jar, xerces.jar, soap.jar and mail.jar after this how to run the application. if there is any example available it will be help ful to me. i am totally panic. i dont know what to do .. some one please help me ...

Haskell as REST server

I would like to try Haskell on a smallish project which should be well suited to it. I would like to use it as a backend to a small ajax application. Haskell backend should be able to do authentication (basic, form, whatever, ...), keep track of user session (not much data there except for username) and to dispatch request to handlers b...

convert caf on iphone or on server for sharing

Hey there, I have an app that records short sounds (as caf files) and uploads them to a server. I want to be able to share these sounds so they need to be in a more ubiquitous format like mp3. I've got a linux server. Is there anything I can use either on the iphone or the server to perform the conversion? thanks, Howie ...

C#.NET Socket Programming: Connecting to remote computers.

I have a typical server in my end and a friend using a client to connect to my IP/Port and he consistently receives the exception: "A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond {MY_IP}:{MY_PORT}"—You d...

How to register your application into\with Http.sys?

So I created a TCP\HTTP server (IN C#). I want to give to it namespace on my 80's port near to other HTTP servers I have. How to do such thing (step - by step)? ...

500 - Internal server error

hi, I have created one test.aspx and my local machine it is working fine. once I upload the same to server the page is not working. Its showing " 500 - Internal server error. There is a problem with the resource you are looking for, and it cannot be displayed. " Please anyone give some solution. Thanks in Advance. ...

unable to download a file from rtmp server

Hi Team I want to download an audio file from red5 server using rtmp server. string strUri; strUri = "rtmp://XXX/oflaDemo/" + Session["streamName"].ToString(); string strUploadto; strUploadto = Server.MapPath("") + "\Audio\" + "myaudio.flv"; WebClient webClient = new WebClient(); //webClient.Dow...

Why does my server hang when I call a page over files_get_content?

I am trying to get content from a wordpress installation on a subdomain of my server. I tried that with file_get_content and also with Zend_Http_Client. $client = new Zend_Http_Client(Zend_Registry::get('CONFIG')->static->$name->$lang); $content = $client->request()->getBody(); As long as I run in on my localhost, it works fine. As so...

Designing server communications like DNS

I'm just need some help about server design. I need help in the design of the structure of the server application. Need to develop a network of servers that interact with each other. If a server receives a request and the server can not comply it, then the request is sent to another server and the result will be refunded to the sender. ...

Silverstripe | Internal Server Error

Hi! Silverstripe is running on my since a few weeks. Recently, I get an Internal Server Error message when I try to access the admin area. Having a look in the server's error logs, I discovered following hint: [Mon Apr 05 12:15:26 2010] [error] [client ...] Premature end of script headers: main.php I already was refered to t...

Lucene.net on a central server

Hi, I have a problem finding references to this subject and would appreciate some help. We have an application that uses a central sql server and a local lucene. Since the data is synchronized we wish to put the lucene on the same machine as the sql server and access it remotely. I was looking for documentation and examples on how to d...

Flex - How to edit a xml file on the server

Hi! I was wondering if it was possible to edit an xml on the server side from a web based flex application. When you use XML files in a Flex application and then compile it to upload it in the server, Flex Buidler generates a swf file with the xml data embedded. How should I do to have access to those XML files?? Thanks for your answ...