protocols

Using Javascript to connect with server using protocol other than HTTP

Can Javascript be used to connect with a server with a protocol other than HTTP or FILE? Ideally, I would like to connect to an SMTP server using Javascript. ...

Is it possible to extend an protocol like this?

I need to add some methods to the delegate protocol of my custom UITextField subclass. So I put this in the header: @protocol MyTextFieldDelegate (UITextFieldDelegate) - (void)textfieldDidSomething:(UITextField*)textField; @end Is this fine? ...

RPC: Unknown Protocol

We are developing a RPC system with client in ubuntu system and server in Solaris system. Currently we are struck at this error: "RPC: Unknown Protocol" can some one help us with this? ...

Open file in editor from browser, on Mac

I'd like to have a link which allows me to open a file in my favorite IDE. Textmate registeres it's own protocol txmt://open/?url=file://%file&line=%line and it works fine, but I can't find out how to open the file in some other application (for example NetBeans). This probably requires registering some protocols and setting my browser ...

Automatic service discovery protocols

I am currently looking into a variety of service discovery protocols available to Java and have come up with a small list: DNS-SD[1] a.k.a mDNS - implemented by jmDNS and also used as a backend for Zeroconf/Bonjous discovery provider for ECF (Eclipse Communication Framework) UPnP[2] - implemented by Cling library SLP - implemented by O...

Real time Protocol for a web-app in PHP

Hi, I'm working on a PHP application and I'm looking for some ideas for a real-time protocol that I can use for: 1) track users status and location within the application (this should be fast!!!) 2) chat system. I'm looking for something like FMS and its "Shared Objects" where multiple users can subscribe to pieces of information. FM...

Boost serialization multiple objects

Hi all, Im trying to build a persistence module and Im thinking in serialize/deserialize the class that I need to make persistence to a file. Is possible with Boost serialization to write multiple objects into the same file? how can I read or loop through entrys in the file? Google protocol buffers could be better for me if a good perf...

How to detect an incoming SSL (https) handshake (SSL wire format)?

I'm writing a server which is accepting incoming TCP connections. Let's suppose the server has accepted a TCP connection, and has already received 16 (or so) bytes from the client. Knowing those 16 bytes how can the server detect whether the client wants to initiate an SSL handshake? I've made an experiment, which showed that on my Linu...

How to implement a custom protocol

In this part of my code I get a warning message saying it doesn't implement the custom protocol I made. detailViewController.delegate = self; How do I implement the protocol? Then when I run the program it crashes saying '-[DetailViewController setDelegate:]: unrecognized selector sent to instance 0x6a1c450' ...

WebBrowser(in .Net 2.0 WinForm) hangs when waiting for asynchronous pluggable protocol response

I write a temp http protocol according to http://www.codeproject.com/KB/aspnet/AspxProtocol.aspx?display=PrintAll and the Code is as follow, public void Start(string szURL, IInternetProtocolSink Sink, IInternetBindInfo pOIBindInfo, uint grfPI, uint dwReserved) { try { IServiceProvide...

How Protocol buffer interact with legacy protocol code

Hi,every one, I have a question about how protocol buffer interact with existed protocol mechanism,Say code below: class PacketBase { public: PacketBase(); private: int msgType; int msgLen; private: MessageBuilder* m_pMsgBuilder; /// do Write and Read From msg stream }; class LoginRequest : public PacketBase { /// here ...

Open files from a web application with another web application?

So these days we want things to be on the cloud. In the desktop area we could use one application to create a file, then another to open that file. I wonder how you accomplish this file sharing between web applications? Eg. if I create a web application letting the user create a file, how do I share this file to another web applicatio...

How do I create a "custom protocol" and map it to an application?

How would one go about creating a "custom protocol?" I know you can create a URL protocol by adding a number of registry entries to HKEY_CLASSES_ROOT, but that seems to only work in a browser. I need for it to work in Windows Explorer also. I know that I can write a client/server sort of interface, but I think that is overkill for my c...

Voicemail Protocol Specification

Is there a public protocol for Voicemail systems? If so, any specifications out there? ...

iPhone SDK NSInternalInconsistencyException

Hi there guys. I'm hitting a wall over and over again, trying to solve a problem I've got in xcode. I'm a newbie and started coding just a while ago. I'm trying to make a XML parser based on this tutorial: http://cocoadevblog.com/iphone-tutorial-creating-a-rss-feed-reader which works fine separately, but when I'm implementing it into ...

How communication happens between webserver and webclient?

I had posted one question here I solved the problem but little confuse about reason. Question was webBrowser control in .net was not displaying images. Moreover, If I press Ctrl+N, it opens same page in external IE browser. all images are displyed properly there. Once I do this step and then after, when webBrowser Control refresh page a...

What's the status of the matter-transport/sentient-life-form Content-Type?

So, I was reading about this old MIME Content-Type of 1993, which type is matter-transport/sentient-life-form. What's the current status of this MIME type 17 years later? From: "Nathaniel S. Borenstein" <[email protected]> To: Mark Linimon <[email protected]> Subject: Think hard before reconstructing Content-description: Dan Quayle,...

How is “preserving message boundaries” implemented for Message-Oriented connections ?

the workstation on the left submits messages of 128, 64, and 32 bytes destined for the workstation on the right. The receiving workstation issues three recv calls with a 256-byte buffer. Each call in succession returns 128, 64, and 32 bytes. The first call to recv does not return all three packets even if all the pac...

The server committed a protocol violation. Section=ResponseStatusLine" For PHP webservice

HI I am calling a web service in my C# Code. The webservice is bulit in PHP. I am calling its loadunload method. The webservice returns me the "The server committed a protocol violation. Section=ResponseStatusLine" error if I call the service with in 5 to 10 second delay. Here is the code I am using to call the service. private MyServ...

Are video streams(e.g. MJPEG streams) always connection Oriented ?

Is there any stream that relies on Connectionless protocols like UDP? ...