async하게 수정

This commit is contained in:
2018-06-07 15:33:33 +09:00
parent 663d2977ed
commit 9140673315
11 changed files with 412 additions and 317 deletions

View File

@@ -313,7 +313,7 @@ namespace FluentFTP {
try {
stream.Listen(m_stream.LocalEndPoint.Address, port);
success = true;
} catch (SocketException se) {
} catch (SocketException) {
#if NETFX
// Already in use
if (se.ErrorCode != 10048)
@@ -448,7 +448,7 @@ namespace FluentFTP {
stream.Listen(m_stream.LocalEndPoint.Address, port);
success = true;
}
catch (SocketException se)
catch (SocketException)
{
#if NETFX
// Already in use