server

c program client server

hi all I have written a client and server c program, which I have taken from example code. I want to write a iterative client and server program, i.e. after client send a string, then the server print that string and then send back a string to client then the client print the string inputted by server, and so on until the client input...

java httpserver printing

Hi, I'm working on a project, where users call a httpserver with some parameters (example: http://localhost:5000/asdf?test=123&test2=1234). The Server should then print the parameters onto a cardprinter. Until last week i used a TCP Server socket for hosting the server and a DocPrintjob for printing. Now I try to do the same by using...

Any ready solution for basic asynchronous (non-blocking) HTTP clients with Stackless Python 3.1?

I am looking for a way to serve HTTP (and do HTTP requests) in an asynchronous, non-blocking fashion. This seems to be hard to do when you’ve decided on Stackless Python 3.1 (also see here for docs) as i did. There are some basic examples, like the pretty informative and detailed article How To Use Linux epoll with Python, and there is...

any python socket server framework?

Hi, I'm looking for a python socket server framework - not to handle http, but to handle tcp sockets. I've done it myself, but adding all the features is tedious. This framework would handle thread pooling, socket setup, signal handling, etc. A big feature is code-reloading. If I use apache/mod_python, or django, or whatever, I don't h...

can I connect to mysql database located on a web hosting server?

Hi I want to connect to mySQL database which is located in a web-server (siteground) which is a web hosting company.. can this be achieved , is there a port to connect to the mysql database like (3306). if not , are there any servers online where this can be achieved? PS: I'm using Delphi, and I'm using mysql locally using odbc. ...

Sleep function uses server resources?

I've got two reasons to use a sleep function: first, to automatically send a confirmation email to a client 20 minutes after they contact us. I don't want to use cron jobs because I want it to be exactly 20 minutes (and I'm sick of my web server sending me emails telling me they initiated a cron job.....a new email every 20 minutes!) Se...

Implement 3270 protocol in Java

I've got a big problem with IBM HACL for accessing a server which speaks 3270 protocol. The library keeps crashing, and our JNI wrapper is actually a bug-fixing layer for the poorly-implemented and poorly-documented library (and I suspect we have introduced new bugs with it too). Moreover, in our company, everybody knows Java, and could ...

What server infrastructure to use for desktop software development?

I am in a startup company working on a new digital content creation desktop tool. We are now setting up an infrastructure for a small team of software developers in multiple locations. We are looking into setting up a common server wich will store all code, and host version control (Subversion), built system, internal documentation, Bu...

UDP and sockets, recvfrom() returning -1 and resource temporarily unavailable

Hi, I'm pretty new at programming and esp network programming so if it's stupid, don't bash too hard please, thanks. I have client and server communicating with diagrams (UDP) in C. client sends 5 msgs and upon receiving msgs, server sends msgs back. receiving and sending messages are great until client has finished receiving the msgs. ...

How to write server applications in ASP.NET and Visual Basic?

Hello all, I am looking into writing a web-based vehicle tracking system. The framework I have in mind looks something like this: Client application --- Database --- Database updater. Client application: This would query the database for information and then display this information on a map. Database: holds vehicle information such ...

how to make virtual machine copy not to work or startup

Dear All I have virtual machine on vmware server, i need to make it secure, suppose if someone get the copy of this virtual machine, it must not start up or get corrupt!! can any one help to do this.... thanks in advance cheers ...

Embedded FTP Server with C#?

Is there any open source .NET-based (no Win32 native, ActiveX, COM+ etc) library so I will can easily set up a ftp server? It is going to be a ftp server that will update a SQL Server database, and not regular files. Thank you. ...

cannot send parameters from java client

Hi. I am developing a java client for a web service. I have this method in my web service: @WebMethod(operationName = "test") public Integer test(@WebParam(name = "number") int number) { return number; } My client looks like this public static void main(String[] args) { try { String BODY_NAMESPACE_VALUE = /namespace url/; QName ...

Sending a huge amount of real time processed data via UDP to iPhone from a server

I'm implementing a remote application. The server will process & render data in real time as animation. (a series of images, to be precise) Each time, an image is rendered, it will be transferred to the receiving iPhone client via UDP. I have studied some UDP and I am aware of the following: UDP has max size of about 65k. However, it...

build a tcp server to test asihttp

Hi, I am working on iphone networking application.. I am using asihttp , a wrapper of the CFnetwork framework. http://allseeing-i.com/ASIHTTPRequest/ I want to build a server that sends some data on request from the client... I want this for the sole purpose of testing the application i write and understanding the networking more deep...

Recommendations for a server side language

Hello folks. I use Perl for just about everything on my server side. What I am dealing with now is the need to find something on the server side that can handle computational tasks easily and quickly (specifically financial data). I am crunching a lot of numbers and this crunching needs to be done on the fly in some cases (for display on...

Sanity Check - Is a Multiplayer Game Server in Java using TCP (ServerSocket) viable?

Hey Guys, Please stop me before I make a big mistake :) - I'm trying to write a simple multi-player quiz game for Android phones to get some experience writing server code. I have never written server code before. I have experience in Java and using Sockets seems like the easiest option for me. A browser game would mean platform indep...

Does .Net have a different environment for client and server?

Recently I have heard the bellow statement. Can someone please elaborate on it? With client side applications, Java has better performance than .Net. The reason is that .Net environment on the server-side (iis?) is different than its client side. While Java uses the same environment at both ends. Since frameworks performance is optim...

Integration testing: Start a blocking server during `unittest.setUp` before testing it?

I'm writing a service using Thrift and need to apply some tests to ensure that it operates/responds as expected. To accomplish this, the most robust approach seems to be to use the unittest module. I'd like to start the service in "test" mode (starts on a specific "test" port, uses "test" data, etc) from directly within the unit test's...

Best method of connection between automated python XMPP server and interface to django?

I have an XMPP server (likely — python, twisted, wokkel), which I prefer not to restart even in the development version, and I have some python module “worker” (which is interface to particular django project), which gets jid and message text and returns some response (text or XML, either way). The question is, what would be the best wa...