Is it necessary to print an error message when there is no socket available to accept in an asynchronous socket? #2768
Replies: 2 comments
-
|
Yes. We have error log messages for every (unless we missed something) situation when an API call has ended up with error, so we can be aware of the real situation that caused the problem. In this case it appears when you are calling |
Beta Was this translation helpful? Give feedback.
-
|
@ethouris For future readers, can you explain how to know when there's a pending connection or not because your Listener (Server) Example just calls If that's the only way to know if there's a pending connection, then it is unacceptable to constantly print an error message. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This log is necessary?
srt/srtcore/api.cpp
Line 1133 in 1737e96
Beta Was this translation helpful? Give feedback.
All reactions