freedomjs / freedom

Embracing a distributed web
http://freedomjs.org
Apache License 2.0
515 stars 52 forks source link

Clarify semantics of freedom tcp sockets #101

Open iislucas opened 10 years ago

iislucas commented 10 years ago

Lots of open questions for this interface that are not specified, but which are important if you try to use it:

willscott commented 10 years ago

For the initial question, you do get one of the defined errors when secure fails, no? I think we act as though the connection failed and reject with that error.

I don't understand the 4th bullet point.

It sounds like many of the other questions should be documented on a wiki page

iislucas commented 10 years ago

I've updated the issue on github; +1 for Wiki documentation & also documentation in the interface file. :)

willscott commented 9 years ago

@iislucas You've been spending a bunch of time thinking about the semantics of TCP Sockets. I wonder if I could convince you to write down the answers to these questions on a wiki doc now that you're familiar with the actual semantics :+1: