コード例 #1
0
 public void sendMessage(string msg, UdpClient updClient, IPEndPoint remoteIpEndpoint)
 {
     byte[] msgBytes = Utils.encodeString(msg);
     updClient.Send(msgBytes, msgBytes.Length, remoteIpEndpoint);
 }
コード例 #2
0
 public byte[] encode()
 {
     return(Utils.encodeString(messageText));
 }