protocols

Sharing serial port (Modem protocol + dialer)

Hi, I wanted to use this code to send archives with Xmodem: http://www.java2s.com/Code/Java/Network-Protocol/JModemsimplecommunicationsprogram.htm In this case, I want to establish a dialup connection between two computers and send a binary file. But this code doesn't let me set a phone number to dial after i setup the port and before I...

What's the most efficient protocol for reliable multicast?

When a sender needs to multicast a relatively large volume of data (say several megabytes per second) in a reliable way over Ethernet to a modest number of receivers (say less than a dozen) on the same subnet, what is the most efficient protocol? By reliable I mean that if a packet is lost, the protocol ensures that it gets resent such t...

binary format to pass tabular data

I'm maintaining a legacy embedded device which interacts with the real world. Generally speaking, this device collects data from sensors, processes the data using its internal algorithm, and displays warning when data reaches a certain "bad" state. For debugging purposes, we wish this device will send us on a regular basis many of the d...

serialize and deserialize SQL query

I'm having an embedded device which keeps a list of inner tables. I would like it to synchronize this table's state with some outside database for debugging purposes. That is whenever I add an element to a certain struct array I wish the device to issue an "INSERT INTO ..." command. However I'm sending the data over an RS232 serial cabl...

How to send a link to an application, like Spotify does.

Hi, When we save a level in our editor, we create a log file of any errors it contains. These consist basically of an error message and a path that allows the user to find the erronous item in a tree view. What I want is to make that path a link, something like < a href="editor://path/to/gameobject" > Click to see object in editor< /a ...

Unused field value in transmission protocol.

I am writing technical documentation for a little protocol used internally on a GSM network. This protocol use pattern [id1] + [byte[] data1], [id2] + [byte[] data2], etc in a continuous stream of byte. The point is that for various reason (future expandability and backward compatibility) some fields are not used. The value of this fiel...

Block repeat problem with Java XMODEM implementation

I'm implementing XMODEM protocol in Java. In this protocol same block will repeat if packet doesn't match (when I send NAK again and again) but I'm getting it only 5 times. What might be the problem? ...

iPhone + Sharepoint

Hey, is there a way to connect the iPhone with Sharepoint? I wonder, if it is possible to implement the HTTP or WEBDAV protocol of Sharepoint in Cocoa/Objective-C. Regards ...

Erlang vs The Real/Outside world, how to comunicate?

Hello, I'm learning erlang and I'm very fascinated by the mnesia db. I want to build some real world application in C# / F# using erlang as backend. I'm searching for a good solution to communicate with erlang nodes from the outside world. What I found so far: (A) OTP.net, an opensource .net library implementing the 'native' erlang c...

Simple serial point-to-point communication protocol

I need a simple communication protocol between two devices (a PC and a microcontroller). The PC must send some commands and parameters to the micro. The micro must transmit an array of bytes (data from sensor). The data must be noise protected (besides parity checking, I think I need some other data correction method). Is there any sta...

Compliance test for OpenID providers

What automated standards-conformance tests are there for OpenID providers? I'm making changes to the implementation of an OpenID provider, to bring it from version 1.1 of the standard to version 2.0. Before releasing the code, I want to be sure that it conforms to the specifications of the standard. For testing web standards compliance...

Which encoding is used by the HTTP protocol?

When a browser sends an HTTP request to a web server, what encoding is used to encode the HTTP protocol on the wire? Is it ASCII? UTF8? or UTF16? Or does it specify which encoding it uses in a predefined format (before any decoding takes place?) P.S I'm not asking about the actual payload (e.g. HTML) of the request/response. I'm asking ...

How would you solve this data parsing problem?

This is a rather long question, so please bare with me. We are implementing an emulator for a piece of hardware that is being developed at the same time. The idea is to give 3rd parties a software solution to test their client software and give the hardware developers a reference point to implement their firmware. The people who wrote ...

How to detect browser's protocol handlers?

I have created a custom URL protocol handler. http:// mailto:// custom:// I have registered a WinForms application to respond accordingly. This all works great. But I would like to be able to gracefully handle the case where the user doesn't have the custom URL protocol handler installed, yet. In order to be able to do this I need ...

Could someone please explain LDAP?

I often hear things like "Can we load our employee info using LDAP?" Yet, the title "Lightweight Directory Access Protocol" makes me think of it as a protocol rather than a physical database management system like Oracle or MSSQL. So could someone please explain to me what LDAP is, how it's used, and how it basically works? Is LDAP si...

Twisted and p2p applications

Can you tell me: could I use twisted for p2p-applications creating? And what protocols should I choose for this? ...

Do I need a protocol for notification?

I have classDownload that uses NSURLConnection. I'd like to keep all of the NSURLConnection events in classDownload. ClassA wants to use classDownload but also receive notifications such as connectionDidFinishLoading, which is called Finish in classDownload. How do I get the notifications from classDownload over to ClassA? ...

Difference between https protocol and SSL Certificate

What is difference between https protocol and SSL Certificate that we use in web browser? Aren't both of these used to encrypt communication between client (browser) and server? ...

Registering custom url protocl handler that Outlook recognizes?

Good morning, I've successfully created a little app that registers itself under a custom uri protocol ('irma:') following the msdn entry at http://msdn.microsoft.com/en-us/library/aa767914(VS.85).aspx This works perfectly fine when opening such a link manually via the shell/cmd etc, but when sending out links like that, outlook does n...

What's FIX protocol

Any idea of FIX protocol ? Thanks ...