diff --git a/source/posix/socket.c b/source/posix/socket.c index daaa37be7..47e0b18a8 100644 --- a/source/posix/socket.c +++ b/source/posix/socket.c @@ -236,6 +236,8 @@ static struct aws_socket_vtable s_vtable = { .socket_write_fn = s_socket_write, .socket_get_error_fn = s_socket_get_error, .socket_is_open_fn = s_socket_is_open, + .socket_get_protocol_fn = NULL, + .socket_get_server_name_fn = NULL, }; static void s_socket_destroy_impl(void *user_data) { diff --git a/source/windows/iocp/socket.c b/source/windows/iocp/socket.c index 9cf884660..1add9997b 100644 --- a/source/windows/iocp/socket.c +++ b/source/windows/iocp/socket.c @@ -287,6 +287,8 @@ static struct aws_socket_vtable s_socket_vtable = { .socket_write_fn = s_socket_write, .socket_get_error_fn = s_socket_get_error, .socket_is_open_fn = s_socket_is_open, + .socket_get_protocol_fn = NULL, + .socket_get_server_name_fn = NULL, }; /* When socket is connected, any of the CONNECT_*** flags might be set.