Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
notes:websockets [2016/07/27] gomidanotes:websockets [2016/07/27] gomida
Line 1: Line 1:
-==== WebSockets=====+====== WebSockets ======
 <sq> <sq>
-실제 머신의 소켓에 바인딩 해주는 것은 아니며 HTTP가 사용하는 TCP 80포트에서 약간의 [[https://tools.ietf.org/html/rfc6455#page-28|헤더]]를 붙인 Framing Protocol 을 운용하는 일종의 소켓 에뮬레이션에 가까운 디자인. 따라서 HTTP 헤더 오버헤드가 줄어든 통신을 가능하게 하는 장점은 있지만 현재로서는 UDP를 사용한 전송은 불가능하다. 브라우저에서 UDP 소켓을 열 수 있지 않을까 검색하고 있다면 대안으로 WebRTC가 있다.+==== 웹소켓 ==== 
 +아쉽게도 실제 머신의 소켓에 바인딩 해주는 것은 아니며 HTTP가 사용하는 TCP 80포트에서 약간의 [[https://tools.ietf.org/html/rfc6455#page-28|헤더]]를 붙인 Framing Protocol 을 운용하는 일종의 소켓 에뮬레이션에 가까운 디자인. 따라서 HTTP 헤더 오버헤드가 줄어든 통신을 가능하게 하는 장점은 있지만 현재로서는 UDP를 사용한 전송은 불가능하다. 브라우저에서 UDP 소켓을 열 수 있지 않을까 검색하고 있다면 대안으로 WebRTC가 있다.
 </sq> </sq>
----- +<sq> 
-=== References ===+==== References ====
 깔끔하고 명료한 설명 깔끔하고 명료한 설명
   * http://d2.naver.com/helloworld/1336   * http://d2.naver.com/helloworld/1336
Line 26: Line 27:
   Sec-WebSocket-Protocol: chat, superchat   Sec-WebSocket-Protocol: chat, superchat
   Sec-WebSocket-Version: 13   Sec-WebSocket-Version: 13
-   +</sq>
- WebRTC 쪽이 더 광범위한 접근인 듯 +
-    * http://www.html5rocks.com/ko/tutorials/webrtc/datachannels/ +
 \\ \\
 ---- ----
 [[Category:Tech]] [[Category:Tech]]

TypeError: Cannot access offset of type string on string

TypeError: Cannot access offset of type string on string

An unforeseen error has occured. This is most likely a bug somewhere.

More info has been written to the DokuWiki error log.