protocols

How to detect whether a protocol is supported through web browser?

Similar to iTunes' 'Link Maker' (http://www.apple.com/itunes/linkmaker/faq/). Through web browser, iTunes webpages is capable of finding out if itms:// has been registered on client workstation, hence displaying correct message ('View in iTunes' button or 'Download iTunes' promotion banner). How is this conducted? ...

Tips about design/implementation of own protocol

Hello. Where I work we are in need of a protocol capable of: User login/logout Send/recive instructions Send/recive files Send/recive audio stream(could use RTP) Send/recive small XML files Use cryptography for all those. It will be implemented in java. So I have some questions, since I´ve never implemeted a network protocol yet. I...

what is COP3 protocol?

I'm working on a file transfer application. Can anybody send me details about COP3 protocol which I got at http://www.tvtechnology.com/article/19320 link. Thank you. ...

UITableView not working. Why?

I have a UITableViewController and I have specified the index titles so that the user can skip to specific letters much like the iPod app (the song list, specifically) on an iPhone. I have set up everything and implemented all the methods in the UITableViewProtocol. Now, here is the problem. When I click an index on the right side (they...

Will firewalls block my non-HTTP network protocol even if I use TCP port 80?

I want to create a simple JSON-based protocol to allow my game to talk to my custom server, but I don't want embed it in HTTP. If I send a custom text-based protocol request to my server on port 80, will firewalls block it for not using HTTP format, or do they only care about the port number? I won't use the same server as a web server...

what is/where can i find more info on "HI2COUT"

looking to bit-bang the I2C interface of a MCP23017 with an ATtiny13A, a lot of places mention HI2COUT as a method to send data on the I2C bus but i have no clue if this is part of a language or a Library or even a description of what happens when called. so the questions: 1) where can i get info on HI2COUT? 2) if any one has ever inte...

SOAP - Simple Object Access Protocol?

SOAP - Simple Object Access Protocol I find some Difficulty in understanding the expansion of SOAP. First thing, is it really Simple? Second thing, is it used to access Objects? Third thing, If it used to access objects then what are the objects it can access? Fourth thing, Is it purely object access protocol? ...

broken connection symmetry

From the Transmission Control Protocol Wikipedia article: For example, when an HTML file is sent from a Web server, the TCP software layer of that server divides the sequence of bytes of the file into segments and forwards them individually to the IP software layer (Internet Layer). The Internet Layer encapsulates each TCP segment i...

Can I use protocol objects as keys in an NSDictionary?

I've read in Apples docu that (as I expected) an NSDictionary is not constrained just to strings for keys. There's also a post here confirming that Sets can be used. I want to use protocol objects but it' not happening. I initWithObjectsAndKeys and pass @protocol(MyGreatProtocol) as a key. Compiles but I get a runtime error saying someth...

Is there any generic binary protocol codec library for python?

There is nice one for java - MINA. Once I've heard that there is something similar for python. But can't remind. EDIT: to be more specific, I would like to have a tool which would help me to create a coded for some binary stream. EDIT2: I'd like to list solutions here (thanks Scott for related topics) Listed in order i'd use it. bit...

How does the App Store website know if iTunes is installed?

Hi, As a user, I really love how the Apple App Store website on a browser can tell if I have iTunes installed or not and can act accordingly. For example, if I go to an App's page like "Remember the Milk": http://itunes.apple.com/app/remember-the-milk/id293561396?mt=8 and then click on the "View in iTunes" button, If I have iTunes i...

modify a datastream on the fly

I need to hijack and modify a datastream. The stream consists of fixed-width commands. Each command is a new line, and the documentation says that each command starts and ends with an STX/ETX pair (start and end of text) The sending system is using serial, but is attacked to an iPocket device that communicates over IP to our PBX. Fro...

What kind of abstraction layers are typical between clients and servers in a request/response pattern?

So I'm brainstorming some stuff with a coworker right now with regards to backend API we're in the process of concepting out. It's a pretty straightforward read API, where a client requests certain data from a server and a server replies with that data. We're just brainstorming ideas at the moment, and one "idea" that came up was a sort...

example code, documents on MCP23017 (16 pin IO extender, I2C) as an 7-segment LCD driver

the MCP23017 from Microchip is an I2C based 16-pin IO extender. I have been able to set up the device once (set pin direction and values), but after that i cannot change the values as expected unless i reset / power cycle the device. this is the code i used to initalize it and set the pins up the first time: I2C_Start(); I2C_Write(...

Is there an easy to implement or existing protocol to pass an object with pipe/socket in windows?

The object is essentially BYTEs of dynamic length. What's the easiest way to implement a send/receive mechanism? I got a tip follows but have no idea how to roll this protocol myself: Just remember that pipes, like sockets, don't guarantee that everything you put in the pipe will come out the other end in the same number of...

About network protocol

How do protocols like TCP identify the beginning of a new frame? ...

Binary parser or serialization ?

I want to store a graph of different objects for a game, their classes may or may not be related, they may or may not contain vectors of simple structures. I want parsing operation to be fast, data can be pretty big. Adding new things should not be hard, and it should not break backward compatibility. Smaller file size is kind of impor...

DotNetOpenAuth.Messaging - Protocol error: This message has a timestamp of {0}, which is beyond the allowable clock skew for in the future

I got a error from openid provider 2010-08-26 16:54:30,240 (GMT+4) [26] ERROR DotNetOpenAuth.Messaging - Protocol error: This message has a timestamp of 26.08.2010 16:54:37, which is beyond the allowable clock skew for in the future What is the reason of such error? Full log 2010-08-26 16:54:29,849 (GMT+4) [26] DEBUG DotNetOpenAu...

Why is OAuth designed to have request token and access token?

In the OAuth protocol, a service consumer will ask a user to authorize a request token in the service provider domain, then exchanges the request token for a access token from the service provider. I'm wondering why OAuth is designed to have two tokens in the protocol. Why not just use one single token in this process? That is, the use...

"chrome" in the protocol section of a URL

What does the following mean? I assume chrome refers to Google's webbrowser Chrome, but does it have its own special protocol (like http:// and ftp://)? <iframe src="chrome://extension/content/web/web.htm" />" ...