| | |
| | | package com.hdl.sdk.socket.client;
|
| | |
|
| | |
|
| | | import android.text.TextUtils;
|
| | |
|
| | | import com.hdl.sdk.common.utils.IpUtils;
|
| | | import com.hdl.sdk.common.utils.LogUtils;
|
| | | import com.hdl.sdk.common.utils.TextUtils;
|
| | | import com.hdl.sdk.socket.SocketBoot;
|
| | | import com.hdl.sdk.socket.SocketOptions;
|
| | | import com.hdl.sdk.socket.SocketPool;
|
| | |
| | | if (handleMessage != null) {
|
| | | byte[] data = new byte[receivePacket.getLength()];
|
| | | System.arraycopy(receivePacket.getData(), 0, data, 0, data.length);
|
| | | handleMessage.read(data);
|
| | | handleMessage.read(data,receivePacket.getAddress().getHostAddress());
|
| | | }
|
| | |
|
| | | } catch (Exception e) {
|