| | |
| | | package com.hdl.sdk.socket.udp;
|
| | |
|
| | | import android.support.v4.util.ArrayMap;
|
| | | import android.text.TextUtils;
|
| | |
|
| | | import androidx.collection.ArrayMap;
|
| | |
|
| | | import com.hdl.sdk.common.utils.LogUtils;
|
| | | import com.hdl.sdk.common.utils.ThreadToolUtils;
|
| | |
| | | if (listener != null && !TextUtils.isEmpty(request.getAction())) {
|
| | | sendMap.put(request.getAction(), listener);
|
| | | }
|
| | | client.sendMsg(ipAddress,port, msg);
|
| | | LogUtils.i("发送目标IP和端口", ipAddress + ":" + port);
|
| | | client.sendMsg(ipAddress, port, msg);
|
| | | } catch (Exception e) {
|
| | | LogUtils.i("发送失败:" + e.getMessage());
|
| | | }
|