C#TCP 접속 시간 초과

1267 단어 C#
IAsyncResult ar = tcpClient.BeginConnect(ip,port,null,null;
bool success = ar.AsyncWaitHandle.WaitOne(1000);
if (!success)
throw new Exception(" , ");

좋은 웹페이지 즐겨찾기