custom-protocol

Communicating from website to desktop application (not vice-versa)

I am designing an application such that it will have to react to certain actions required by the website, mostly the same way Last.FM client does (if you have used one) The way Last.FM client works is that, it will register a custom protocol in Windows (lastfm://) and on their website, they use that protocol to trigger certain action on...

Custom protocol in linux?

I am attempting to port one of my hobby project to linux. Preferrably to Mono since it is written in C#. But I am looking into Python as well. One of the feature of the application is that it needs to associate with a custom protocol so the application is invoked when the user clicks links like this on the app's website: myapp://module...

Tools for experimental Protocol Design & Development?

Are there any open source, high level tools that would facilitate and simplify development of experimental network protocols (TCP/UDP) using a GUI? Basically, something like a dynamic state machine editor that would allow you to define "packets", "messages", "states", "validators", "handlers" etc. Preferably, such a tool would be compr...

Tool for network traffic analysis of a custom protocol

The protocol is very simple and is developed on top of TCP. I need to analyze a big libpcap dump file to calculate the average value and standard deviation of the conversation time and of the number of packets per conversation. Using Wireshark it's simple to analyze the TCP conversations between the endpoints, but the summary includes a...

Url protocol handler security warnings

I have a custom url protocol handler for urls of the form myhandler://path/to/something. This is registered to a locally installed client application that handles the requests and does "the right thing". However, when I have a link of that form in outlook (2007), outlook displays a big scary warning that says: Microsoft office has ide...

Handling Custom Protocols

I'm looking to respond to an event from a web browser, hopefully any web browser. I'm working solely on windows and I came to the conclusion a custom protocol (I.E. myprot://collection/of/strings) is the best approach here (any objections?). But, handling an instance of this protocol seems to be a little less straight-forward. All I nee...

Blank responseText in XMLHttpRequest when running in custom protocol in FireFox?

I am writing a FireFox add-on that displays webpages from my server as control and info panels. These panels were written and work in regular URLs, but when I try to access them through a custom protocol (so it's like about:, just myplugin:settings) every XMLHttpRequest returns blank as if I was doing XSS stuff. I know the data's getti...

Valid characters for URI schemes?

I was thinking about Registering an Application to a URL Protocol and I'd like to know, what characters are allowed in a scheme? Some examples: h323 (has numbers) h323:[<user>@]<host>[:<port>][;<parameters>] z39.50r (has a . as well) z39.50r://<host>[:<port>]/<database>?<docid>[;esn=<elementset>][;rs=<recordsyntax>] paparazzi:ht...

String version of term_to_binary

I'm trying to write a simple server that talks to clients via tcp. I have it sending messages around just fine, but now I want it to interpret the messages as Erlang data types. For example, pretend it's HTTP-like (it's not) and that I want to send from the client {get, "/foo.html"} and have the server interpret that as a tuple containin...

How to create custom URI handler to retreive image resources in DLL file?

Hi! I have several image filés embedded as resources in a DLL file! I want to create my own custom protocol handler to be able to write HTML code to access these resources. For example, on a computer where this DLL is located i want to be able to (in IE) run HTML code like this: < IMG SRC="customuri://res/image01.jpg"/ > This should ...

Does calling a protocol method pass program flow control?

I know this is quite possibly a lame question, but I've pulled three consecutive all-nighters and I'm very blurry. And I'm new to Objective C and Cocoa Touch. I've created a class that provides a delegate method. I'll use simplified example code since the specifics aren't important. The header file looks like this: #import <Foundation/...