protocols

Running a function periodically in twisted protocol

I am looking for a way to periodically send some data over all clients connected to a TCP port. I am looking at twisted python and I am aware of reactor.callLater. But how do I use it to send some data to all connected clients periodically ? The data sending logic is in Protocol class and it is instantiated by the reactor as needed. I do...

Is there a difference in the underlying protocol for ODBC, OLEDB & ADO.NET

When communicating to a SQL Server database using one of the typical systems, ODBC, OLEDB or ADO.NET, is the underlying basic protocol the same? Are all the differences between these systems basically just client side issues? Is this all just different flavors of TDS (Tabular Data Stream) transfer? [MS-TDS]: Tabular Data Stream Protoc...

Designers to Developers-What should I know?

This is a broad question, so let me narrow it a bit. I am a graphic designer entering the world of web design. I'm not totally green in this field, but I know enough to know that I have a lot to learn. From friends and from posts on this site I realize there is often a harmful disconnect between design and development. I'm getting read...

Simple protocol for remote process startup/shutdown

I'm looking for a simple protocol to control remote processes from one managing application. The remote processes will run on Windows and Linux (x86). Is there a simple protocol for managing remote processes, for which I could find daemons that run on both Windows and Linux? ...

Protocol for remote process management

In short: Is there any known protocol for remote process management? I have a system that contains several applications, each has it's own computer in a local network. When the applications are up and running, they communicate without any problems. What I'm interested in is a protocol to manage the remote applications startup, shutdown...

general-purpose binary protocols

I'm trying to find a suitable protocol middleware for my next distributed application. I've found several specifications in the last few days and was wondering if I missed an important one? It should be a binary protocol, support RPCs and optionally have open-source implementations in different languages. Here's the list of protocols I f...

Server asking the Client for information?

In a client-server system, is it considered good architecture for a server method to "ask the client" for more information? If so, what's the best way to design such a scenario? Is there a "pattern" for this? For example, suppose the end user selects a set of records they want to delete in the client UI, then the client makes a "delet...

Why Does RTP use UDP instead of TCP?

I wanted to know why UDP is used in RTP rather than TCP ?. Major VoIP Tools used only UDP as i hacked some of the VoIP OSS. ...

how do I create my own URL protocol? (e.g. so://...)

Ok, please bear with me as this is sorta difficult to explain. I have seen... http://www... ftp://blah.blah... file://blah.blah... unreal://blah.blah... mailto://blah.blah... What is that first section where you see http and the like called? Can I register my own? ...

Why HTTP protocol is designed in plain text way?

Yesterday, I have a discussion with my colleagues about HTTP. It is asked why HTTP is designed in plain text way. Surely, it can be designed in binary way just like TCP protocol, using flags to represents different kinds of method(POST, GET) and variables (HTTP headers). So, why HTTP is designed in such way? Is there any technical or his...

How do i check to see if a delegate is valid on the iPhone

Hiya, I'm doing something like this: @protocol CallbackDelegate -(void) performCallback; @end @interface MyObject : NSObject { id<CallbackDelegate> delegate; } -(void)AsyncFuncCall; @end @property (nonatomic, assign) id<CallbackDelegate> *delegate; The code that owns MyObject sets up a delegate to recieve the callback function...

How can I learn about proprietary hardware communication?

If I have two pieces of hardware (say a PC with a custom ISA or PCI card connected to a piece of hardware using some crazy cable) and want to see as much as possible about the conversations between them, how would I go about doing so? In particular, I'm interested in old scientific hardware connected to Windows PCs (old and new). Any r...

How can I implement an IRC Server with 'owned' nicknames?

Recently, I've been reading up on the IRC protocol (RFCs 1459, 2810-2813), and I was thinking of implementing my own server. I'm not necessarily looking into adhering religiously to the IRC protocol (I'm doing this for fun, after all), but one of the things I do like about it is that a network can consist of multiple servers transparent...

Best Java supported server/client protocol?

I'm in the process of writing a client/server application which should work message based. I would like re-use as much as possible instead of writing another implementation and curious what others are using. Features the library should offer: client and server side functionality should work message based support multi-threading should...

How to map a custom protocol to an application on the Mac?

I'm trying to register a custom protocol to an application on the Mac, i.e: User clicks on link with "abcdef://some/url/here" An installed application is launched with the above string passed as the first param I've done this successfully on Windows using the information from this question: http://stackoverflow.com/questions/389204/...

Checking to see if an optional protocol method has been implemented

Hey there, Does anyone know the best way to check to see if an optional protocol method has been implemented. I tried this: if ([self.delegate respondsToSelector:@selector(optionalProtocolMethod:)] ) where delegate is: id<MyProtocol> delegate; However - I get an error saying that the function respondsToSelector is not found in th...

A lexical analyzer for SPDH

I need some help to write a lexical analyzer for the protocole spdh. Please can you give me some ideas: from where I have to begin to write the grammar of such protocol?! Spdh defines the structure of request and response messages exchanged between an electronic payment terminal and the server of the bank. Thank you ...

How to design and verify distributed systems?

I've been working on a project, which is a combination of an application server and an object database, and is currently running on a single machine only. Some time ago I read a paper which describes a distributed relational database, and got some ideas on how to apply the ideas in that paper to my project, so that I could make a high-av...

Which webbrowsers use http/1.1 by default?

Anyone have an idea where can I look up that information? I'm pretty sure that IE 4 has the "Use HTTP 1.1" parameter on by default and the "Use HTTP 1.1 through proxy connections" off. Got this information from here. I assume the later versions would have "Use HTTP 1.1" on too. How about older versions of IE? How about Firefox, Opera, Sa...

Oracle Logon Protocol (O3LOGON) in 10g

I have been studying Oracle's mechanism for authenticating against a 10g database. Although it is less documented than its 9i counterpart, I have still managed to find many of its details on various web sites and blogs. One piece remains a mystery, however. Before I mention what is missing, let me explain what is known about the protocol...