コード例 #1
0
ファイル: UdpClient.cs プロジェクト: mecha-rm/GDW_Y3-PJT
 // sets the send timeout
 public void SetSendTimeout(int sendTimeout)
 {
     // sets the send timeout
     this.sendTimeout = (sendTimeout >= 0) ? sendTimeout : 0;
     client.SetSendTimeout(this.sendTimeout);
 }
コード例 #2
0
 // setter for send tiemout
 public static void SetSendTimeout(int newSt)
 {
     client.SetSendTimeout(newSt);
 }