473,543 Members | 1,903 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SimpleXMLServer meets inetd


I was thinking about connecting SimpleXMLRPCSer ver with inetd.. but I
haven't been able to replace the socket by sys.stdin and sys.stdout. Maybe
socket.fromfd(s ys.stdin.fileno ()) could help me, but I can't get it to
work, I always get connection refused. Any ideas?


Jul 18 '05 #1
0 1003

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Disco Plumber | last post by:
I know this will probably sound weird to many of you, but I'm currently writing an NNTP server in PHP (using MySQL as the article storage). At the moment, the server is a single client handling script which is called by inetd/tcpd and uses stdin/stdout. I have read that in C, the usual function calls to get peer name et cetera will work on...
by: Jan | last post by:
Hi all! I looked around a lot, but I didn't find a solution. I have to write an simple server application to do some jobs and return a result to a client. I tried SocketServer and this works really fine. But I didn't manage to get a script working that is started by inetd. So far I read about that I could use stdin and stdout for...
by: Frank Wagner | last post by:
Hello NG! Though I´m not new to programming at all, i´m new to C++. got the following question/problem with it´s behaviour: - read number with *arbitrary number of digits* from keyboard (done) - then calculate average value and variety of digits the second sould be no problem, too, i think.
by: JT | last post by:
Hi, I'm sure this isn't a hard one, can someone help? I'm adding a new record to a MySQL database every x seconds. I need to be able to inspect the content of a certain field in this incoming record and, when a condition is met, send an email. I suppose I could have some script inspect the latest record every x seconds and use...
by: Scot Balfour | last post by:
I have an MS Access form that uses a tab control with multiple tabs. On each tab, there are various fields. How can I color-- or if easier add some simple icon--to a particular tab (say tab 2 of 5 in the tab control) if a field on tab 2 meets some generic criteria like salary field is > 50000. I'm trying to give the operator a visual cue...
by: Obi-Wan | last post by:
I'm trying to write a daemon in C that runs under (x)inetd that communicates over UDP. I'm trying to write a simple DNS server that returns the same IP for every query it receives. Things work just fine reading the request, but when I try to write(2) the response, it returns -1 with errno 89: "Destination address required". This seems to...
by: Magnus | last post by:
I have a datatable (I will call it 'main' datatable) with records that have child rows. I need to select all the records from the main datatable where the record/row has a childrow that meets a search criteria. word to match="correctvalue" row___ |---- childrow1(wrongvalue1) |---- childrow2(wrongvalue2) |---- childrow3(correctvalue)...
by: jm.suresh | last post by:
Hi, I have a list and I want to find the first element that meets a condition. I do not want to use 'filter', because I want to come out of the iteration as soon as the first element is found. I have implemented it this way, may be, there should be a built in hiding somewhere in the standard libraries? def exists(iterable, condition): '''...
by: Banfa | last post by:
Looking at man swat It has the line swat is run from inetd What is inetd?
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.