[twsocket] Handshake of TWSocket
Hello, is there anybody who can and will explain to me if the socket handshake protocol is implemented and how the handshake works ? I have problems connecting to socket applications using handshake. Thanks in advance, Andree --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Handshake of TWSocket
Hi, What do you mean by handshake ? If you mean TCP handshake, yes it is implemented on socket level. BR, Noam. -Original Message- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Syncro-Concept Sent: Tuesday, February 18, 2014 12:17 PM To: twsocket@lists.elists.org Subject: [twsocket] Handshake of TWSocket Hello, is there anybody who can and will explain to me if the socket handshake protocol is implemented and how the handshake works ? I have problems connecting to socket applications using handshake. Thanks in advance, Andree --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Handshake of TWSocket
Am 18.02.2014 12:37, schrieb Noam weissman: Hi, What do you mean by handshake ? If you mean TCP handshake, yes it is implemented on socket level. BR, Noam. -Original Message- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Syncro-Concept Sent: Tuesday, February 18, 2014 12:17 PM To: twsocket@lists.elists.org Subject: [twsocket] Handshake of TWSocket Hello, is there anybody who can and will explain to me if the socket handshake protocol is implemented and how the handshake works ? I have problems connecting to socket applications using handshake. Thanks in advance, Andree --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. As explained in RFC 6455 the socket handshake looks as follows: e.g. Client sends, starting with GET ... in any order: GET /chat HTTP/1.1 Host: server.example.com Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ== Origin: http://example.com Sec-WebSocket-Protocol: chat, superchat Sec-WebSocket-Version: 13 Server reply ma be HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo= Sec-WebSocket-Protocol: chat I have an IOS App implemented using the SocketRocket Framework. This Framework expects an answer from the Server which never arrives. So no connection will be established. Where do I have to send this reply ? Thanks in advance, Andree --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Handshake of TWSocket
Hi, My apologies for misunderstanding that. I have not worked (yet) with any of the HTTP components so I cannot help with that. BR, Noam. -Original Message- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Syncro-Concept Sent: Tuesday, February 18, 2014 1:51 PM To: ICS support mailing Subject: Re: [twsocket] Handshake of TWSocket Am 18.02.2014 12:37, schrieb Noam weissman: Hi, What do you mean by handshake ? If you mean TCP handshake, yes it is implemented on socket level. BR, Noam. -Original Message- From: TWSocket [mailto:twsocket-boun...@lists.elists.org] On Behalf Of Syncro-Concept Sent: Tuesday, February 18, 2014 12:17 PM To: twsocket@lists.elists.org Subject: [twsocket] Handshake of TWSocket Hello, is there anybody who can and will explain to me if the socket handshake protocol is implemented and how the handshake works ? I have problems connecting to socket applications using handshake. Thanks in advance, Andree --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be ** ** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. ** ** ** ** This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. ** ** As explained in RFC 6455 the socket handshake looks as follows: e.g. Client sends, starting with GET ... in any order: GET /chat HTTP/1.1 Host: server.example.com Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ== Origin: http://example.com Sec-WebSocket-Protocol: chat, superchat Sec-WebSocket-Version: 13 Server reply ma be HTTP/1.1 101 Switching Protocols Upgrade: websocket Connection: Upgrade Sec-WebSocket-Accept: s3pPLMBiTxaQ9kYGzzhZRbK+xOo= Sec-WebSocket-Protocol: chat I have an IOS App implemented using the SocketRocket Framework. This Framework expects an answer from the Server which never arrives. So no connection will be established. Where do I have to send this reply ? Thanks in advance, Andree --- Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz ist aktiv. http://www.avast.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. This footnote confirms that this email message has been scanned by PineApp Mail-SeCure for the presence of malicious code, vandals computer viruses. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Handshake of TWSocket
is there anybody who can and will explain to me if the socket handshake protocol is implemented GET /chat HTTP/1.1 Host: server.example.com Upgrade: websocket Sorry, websockets is not supported by the ICS HTTP components. Another ICS user stas...@orc.ru has implemented websockets: http://code.google.com/p/ics-websockets/ although I've never looked at it, and the project does not seem to have been updated for over a year. Angus -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] Handshake of TWSocket
is there anybody who can and will explain to me if the socket handshake protocol is implemented and how the handshake works ? I have problems connecting to socket applications using handshake. A socket by itself is not a protocol nor it implement any handshake. A socket is just an abstraction layer to access network services. It is the link to low level protocol engine such as TCP/IP and the applications which then can implement higher level protocols such as HTTP (for web) and SMTP or POP3 for email. You should better describe your problem and you'll get a better answer. -- francois.pie...@overbyte.be Embarcadero MVP http://www.overbyte.be http://francois-piette.blogspot.com -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be