Skip to content

Commit

Permalink
-1 instead of SRT_INVALID_SOCK
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Jul 12, 2024
1 parent 4231526 commit 80992f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtransmit/tcp_socket.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class tcp
void set_blocking_flags(bool is_blocking) const;

private:
SOCKET m_bind_socket = SRT_INVALID_SOCK;
SOCKET m_bind_socket = -1; // Invalid.
sockaddr_in m_dst_addr = {};

bool m_blocking_mode = false;
Expand Down

0 comments on commit 80992f2

Please sign in to comment.