• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 164 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)

71. socket无法连接服务器 [ 70%]

...   return NetSocket._instance;         }         private state_: EConnectionState = EConnectionState.eDistconnected;         private initSocket(): void {             this.on(Laya.Event.OPEN, this, this.onConected);             this.on(Laya.Event.ERROR, this, this.onError); ...

来源: Laya_社区 发布时间: 20170602

72. Android真机调试JavaScript(TypeScript-LayaNative原生服务-LayaNative基础文档) [ 70%]

...Chrome对项目中JavaScript进行调试。如图2所示: ![](img/debug_connected.png) 图4 ## 三、使用测试App进行调试 ### 步骤1:确认ip地址和端口号 打开测试App, 可以在左上角看到Android设备的ip地址和调试时需要的端口号。 如图1所示,设备的ip...

来源: Laya2.0_文档 发布时间: 20210715

73. http无响应 [ 68%]

...) { LoginView.super(this); //调用父类构造函数 this.dlg; } function connect() { var hr = new Laya.HttpRequest(); hr.once(Event.PROGRESS, this, onHttpRequestProgress); hr.once(Event.COMPLETE, this, onHttpRequestComplete); hr.once(Event.ERROR, this, onHttpRequestError); hr.send('http://111.73.4...

来源: Laya_社区 发布时间: 20170215

74. libwebsocket [ 68%]

...tes + protocol rx buf [2018/08/21 11:20:31:5609] NOTICE: lws_client_connect_2: 0x10586eac0: address jsyjx-game.900sy.com [2018/08/21 11:20:31:5623] NOTICE: Connect failed errno=65   看上似乎是启动了ipv6的协议认证,我们环境是ipv4的,我们的域名兼容了v4和v6...

来源: Laya_社区 发布时间: 20180821

75. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 66%]

...请求,请求头中包含一些特殊字段,如 Upgrade: websocket 和 Connection: Upgrade,表明客户端希望将当前的 HTTP 连接升级为 WebSocket 连接。服务器收到请求后,如果支持 WebSocket 协议,会返回一个状态码为 101 的响应,表示同意升级连接...

来源: Laya3.0_文档 发布时间: 20251010

76. 【官网代码】加载dom音频报错,怎么回事? [ 65%]

...BufferSourceNode = audioContext.createBufferSource();audioBufferSourceNode.connect(analyser);analyser.connect(audioContext.destination);audioBufferSourceNode.buffer = buffer;audioBufferSourceNode.start(0);Laya.timer.loop(1,this,this.drawHandler);}private function drawHandler():void{Laya.stage.graphi...

来源: Laya_社区 发布时间: 20181023

77. 关于截屏的问题 [ 63%]

...09 11:48:56.974 1654-1654/? D/StatusBar.MSimNetworkController: refreshdata connected={ wifi } level=0 mMSimcombinedSignalIconId=0x7f0203c5/com.android.systemui:drawable/stat_sys_wifi_signal_4_fully mMSimcombinedActivityIconId=0x7f0203bb mAirplaneMode=false mMSimDataActivity=0 mMSimPhoneSignalIconId=...

来源: Laya_社区 发布时间: 20170609

78. socket通讯返回数据 [ 61%]

... this.socket.endian = Laya.Byte.LITTLE_ENDIAN; //建立连接 this.socket.connectByUrl("ws://localhost:8899"); this.socket.on(Laya.Event.OPEN, this, this.openHandler); this.socket.on(Laya.Event.MESSAGE, this, this.receiveHandler); this.socket.on(Laya.Event.CLOSE, this, this.closeHandler); this.socke...

来源: Laya_社区 发布时间: 20180211

79. WebSocket发送与接收数据(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 60%]

... this.socket.endian = Laya.Byte.LITTLE_ENDIAN; //建立连接 this.socket.connectByUrl("ws://localhost:8989"); this.socket.on(Laya.Event.OPEN, this, openHandler); this.socket.on(Laya.Event.MESSAGE, this, receiveHandler); this.socket.on(Laya.Event.CLOSE, this, closeHandler); this.socket.on(Laya.Event...

来源: Laya2.0_文档 发布时间: 20210714

80. websockt 连接问题 [ 60%]

...接问题 我打算用 laya的websocket 连接tomcat服务器 this.socket.connectByUrl("ws://localhost:8080"); 但是连接之后一直显示报错  laya.core.js:13674 WebSocket connection to 'ws://localhost:8080/' failed: Error during WebSocket handshake: Unexpected response code: 200 浏览器会...

来源: Laya_社区 发布时间: 20200817