Recent Posts
Tags
- react-hook
- vh
- svh
- mutationoptions
- type-challenges
- webrtc
- queryoptions
- tanstack-query
- websocket
- readonly
- fsd
- LVH
- Vite
- type-challenges-easy
- Viewport
- SDP
- Typescript
- msw2.0
- useTransition
- dvh
- mock-service-worker
- tanstack-router
- fsd-architecture
- Mapped type
- HTTP
- React
- MSW
- webrtc #ice #stun #turn
- startTransition
- queryfactory
Archives
- Today
- Total
목록websocket (1)
개발자 메론빵
HTTP, WebSocket, WebRTC 개념
HTTP브라우저와 서버가 http를 통해 통신할 때 통신 과정은 다음과 같다browser에서 server에 httpRequest(요청)을 보낸다.요청을 받은 server는 brower에 요청에 해당하는 httpResponse(응답)을 보낸다.통신이 종료된다.http 통신의 경우 server는 browser의 요청을 받아야만 응답할 수 있고 server가 주체적으로 browser에 데이터를 보낼 수 없다.server의 응답 후에는 http 통신이 종료되기 때문에 실시간으로 데이터를 업데이트해주기 위해서는 일정 시간 간격으로 계속해서 요청을 보내야 한다.WebSocketWebSocket(WS)은 http 방식과는 다르게 Connection Open-Close 여부에 따라 통신한다.browser와 server..
WebRTC
2024. 10. 6. 19:38