Is it necessary to print an error message when there is no socket available to accept in an asynchronous socket? #2768
xiaozhihong
started this conversation in
General
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 |
0 replies
|
@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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
This log is necessary?
srt/srtcore/api.cpp
Line 1133 in 1737e96
All reactions