protocols

Good protocol for FAST inter-application communication?

I am about to implement a server application that can answer queries fast. The server is implemented in java. I don't want to waste a lot of time on a complicated communication protocol so I search for a good best-practice way of 1) performing a query to my server 2) letting the server answer that query Both the queries and answers w...

Where can I find an ICQ library for C#?

Is there any (preferably native) C# library which allows me to send some messages via the ICQ protocol? Is there something better than just wrapping libgaim or something? ...

Lean packet protocol for AS3 and C#?

Is there by chance a lean (meaning not xml or json) packet protocol that is implemented in both actionscript 3 and C#? It would be great if there was one that already had an implementation in both languages. If not, I may have to code one side. That being said, would it be stupid/unsafe to figure out (or find documents of) C#'s serializa...

register a protocol on mac osx?

I have done it in windows, how do i register a protocol on mac osx. I want to click links in firefox (a href="somename://mylinkAndData") and launch a binary? ...

An analyzer for spdh frame!

I must produce a reconnaissor automat of SPDH protocol . SPDH defines the structure of request and response messages exchanged between an electronic payment terminal and the server of the bank The specifications of this protocol are described in this document : http://www.trauco.com/docs/SPDH-specification_070212.pdf I specified the f...

Implementation of X-modem protocol in Java

I want to receive a file from serial port and I have to use that X-modem protocol is designed to receive a file over serial port in Java. So if anyone can have idea about then plz help me. I am in very much trouble.plz ...

How can I reverse engineer an application's protocol?

I'm using an application (an instant messenger) which is not very popular. I'm trying to find the protocol that it uses. I know it's using TCP/IP but I want to find out all the commands that it is sending to the server and receiving from the server. I tried a couple of sniffers, but they can not recognize this application by name and mo...

Cast an instance of a class to a @protocol in Objective-C

I have an object (a UIViewController) which may or may not conform to a protocol I've defined. I know I can determine if the object conforms to the protocol, then safely call the method: if([self.myViewController conformsToProtocol:@protocol(MyProtocol)]) { [self.myViewController protocolMethod]; // <-- warning here } However, XC...

In protocol design, why would you ever use 2 ports?

When a TCP Server does a socket accept on a port, it gets a new socket to work with that Client. The accepting socket remains valid for that port and can accept further clients on that port. Why did the original FTP specification RFC 959 decide to create both a control port and a data port? Would there be any reason to do this in a ...

Are stateless protocols considered better to use over stateful protocols?

I can see that stateful protocols lead to less botched together 'emulated state' like cookies. but testing becomes a lot harder to ensure that your implementation is correct and reconnects, and session continuations can be very hard to handle. Is it considered better practice to always use stateless protocols, or is it really domain s...

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...

Is ihttp a legitimate protocol?

And if so, what does it do? I've noticed it in some html written by a former co-worker (so I can't ask the author). I'd guess it was a typo, except that it's in a couple different places in a couple different templates, used as the source attribute for an image. For example: <IMG height="6" src="ihttp://www.ourdomain.com/images/f2f3f...

A Parallel IP address space exlusively for a P2P network?

I would like to do this because it would make peer location much more effective in my p2p network as I would know that all the addresses would be part of this network. How could I do this while remaining compatible with current transport layer protocols such as SCTP, and the current hardware used on the big wide Internet? Thanks, Andr...

Does anyone know of a good reference/documentation/tutorial for the daap protocol?

For those who hear it for the first time it stands for Digital Audio Access Protocol. It's what iTunes uses to stream music. The protocol uses HTTP for passing around playlist info, streaming audio etc. I've looked at the specifications, but there are a lot of things that are unclear. Does anyone have a link to better documentation of...

Why would I make an all-optional message protocol?

I'm writing a Cocoa API for a project and the API takes a delegate. The protocol that I came up with declares all the methods as optional, but why would I do that instead of just documenting the delegate methods in a header file and taking a plain id as a parameter? ...

Why are most web services in REST style, and not (also) in XML-RPC?

I know that Flickr provides both XML-RPC and REST ways of working with it. There are standard XML-RPC libraries for every language (For example, Python has a built-in one xmlrpclib). Standard XML-RPC libraries takes care of the serializing/deserializing as well as sending/receiving the responses. It seems to me that websites that use ...

Why POP3 protocol survives?

I am getting some basic knowledge e-mail protocol. It seems that IMAP is more powerful than POP3. Then, why POP3 protocol survives? and it is still supported by popular email service like GMail? Thanks. ...

Do I have to declare multiple or just a single namespace for an XML-based server-client protocol?

Hello dear Stackoverflow community I'm currently working on a client-server application and I'd like to use XML for the protocol. Now, I'm rather unsure about declaring the XML namespaces and creating XML schemas. Needless to say that server and client send different things, i.e. the client sends requests and the server responds to them...

Exchange data between programs written in various languages

I'm writing a small browser game and as I'm not a good designer, I wanted to start with the technical part first and add the user interface later, so I wanted to have the first version include bot support, so everyone could write their own bot and have it play the game. This way, I don't have to care about making graphics for the user in...

What is a good C# RFB library?

I'm searching for a library that implements the RFB protocol in C# with server and clients. Can anyone recommend something like that? I found .NET VNC Viewer, which looks really nice and I will use this if there is nothing else. ...