socket.io客户端没有方法发出

使用http://cdn.socket.io/stable/socket.io.js中的socket.io.js版本稳定版,并尝试在google铬和firefox上build立连接。

var websocket = io.connect("http://nodetifications.no-ip.org:3030"); websocket.emit("usuarioConectado", "juanvilu" );</code> 

显示以下错误:

 Uncaught TypeError: Object # has no method <Object> 'connect' (anonymous function) (anonymous function) jquery-latest.js: 586 jquery-latest.js jQuery.extend.globalEval: 587 jquery-latest.js jQuery.fn.extend.domManip: 6169 a.fn.extend.domManip jquery.tmpl.min.js: 10 jquery-latest.js jQuery.fn.extend.append: 5926 (anonymous function) jquery-latest.js: 6051 jquery-latest.js jQuery.extend.access: 835 jquery-latest.js jQuery.fn.extend.html: 6015 (anonymous function) jquery-latest.js fire: 1017 jquery-latest.js self.fireWith: 1127 jquery-latest.js done: 8021 callback