소켓 연결에 대한 추가 데이터 보내기 소켓 연결시 추가 데이터를 보내는 가장 좋은 방법은 무엇입니까? 고객: socket.on('connect',function(){ //I'd like set some values and pass them up to the node server. }); Node.js 서버 : io.on('connection', function(client){ //I'd like to get the data here. }); 예를 들어 사용자 이름이나 이메일 주소 등을 보냅니다. 연결 또는 생성시 데이터를 보내야합니다. var s = io('http://216.157.91.131:8080/', { query: "foo=bar" }); s.connect(); var c = io.connec..