一、UDP请求

String udpSocket(String ip,int port,String str)

参数:

ip:请求主机地址

port:请求主机商品

str:发送的字符串

 

返回值:

返回服务器响应一行(目前版本只支持读取一行响应)