@@ -311,7 +311,7 @@ accept(fly::net::socket_type handle, EndpointType &endpoint, bool &would_block)
311
311
312
312
if (client == invalid_socket ())
313
313
{
314
- const int error = fly::System ::get_error_code ();
314
+ const int error = fly::system ::get_error_code ();
315
315
316
316
would_block = (error == WSAEWOULDBLOCK) || (error == WSAEINPROGRESS);
317
317
SLOGS (handle, " Error accepting" );
@@ -337,7 +337,7 @@ fly::net::ConnectedState connect(fly::net::socket_type handle, const EndpointTyp
337
337
338
338
if (::connect (handle, base (address), sizeof (address)) == SOCKET_ERROR)
339
339
{
340
- const int error = fly::System ::get_error_code ();
340
+ const int error = fly::system ::get_error_code ();
341
341
SLOGS (handle, " Error connecting" );
342
342
343
343
if ((error == WSAEWOULDBLOCK) || (error == WSAEINPROGRESS))
@@ -388,7 +388,7 @@ std::size_t send(fly::net::socket_type handle, std::string_view message, bool &w
388
388
389
389
if (status == SOCKET_ERROR)
390
390
{
391
- would_block = fly::System ::get_error_code () == WSAEWOULDBLOCK;
391
+ would_block = fly::system ::get_error_code () == WSAEWOULDBLOCK;
392
392
SLOGS (handle, " Error sending" );
393
393
}
394
394
}
@@ -433,7 +433,7 @@ std::size_t send_to(
433
433
434
434
if (status == SOCKET_ERROR)
435
435
{
436
- would_block = fly::System ::get_error_code () == WSAEWOULDBLOCK;
436
+ would_block = fly::system ::get_error_code () == WSAEWOULDBLOCK;
437
437
SLOGS (handle, " Error sending" );
438
438
}
439
439
}
@@ -473,7 +473,7 @@ std::string recv(fly::net::socket_type handle, std::size_t packet_size, bool &wo
473
473
{
474
474
if (status == SOCKET_ERROR)
475
475
{
476
- would_block = fly::System ::get_error_code () == WSAEWOULDBLOCK;
476
+ would_block = fly::system ::get_error_code () == WSAEWOULDBLOCK;
477
477
SLOGS (handle, " Error receiving" );
478
478
}
479
479
@@ -509,7 +509,7 @@ std::string recv_from(
509
509
{
510
510
if (status == SOCKET_ERROR)
511
511
{
512
- would_block = fly::System ::get_error_code () == WSAEWOULDBLOCK;
512
+ would_block = fly::system ::get_error_code () == WSAEWOULDBLOCK;
513
513
SLOGS (handle, " Error receiving" );
514
514
}
515
515
0 commit comments