Thunderthunderbyte.hashnode.dev·Jul 9, 20242024.07.09 웹 소켓웹 소켓이란? 웹 소켓은 웹 브라우저(클라이언트)와 웹 서버 사이에 실시간으로 데이터를 주고받을 수 있게 해주는 기술이다.전화 통화처럼 한 번 연결되면 계속 대화할 수 있는 방식이라고 생각하면 된다. 웹 소켓을 사용하는 이유 실시간 업데이트: 채팅, 실시간 알림, 라이브 점수 업데이트 등에 유용. 효율성: 서버에 계속 물어보지 않아도 새로운 정보가 있으면 바로 받을 수 있음. 간단한 예시 ex) 채팅방을 만든다고 가정할 때 전통적인 방...DiscussDiary웹소켓