mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 13:06:13 +01:00
sfTcpListener_accept now returns a null pointer when it fails
This commit is contained in:
1 parent
12b7c5a6a5
commit
91e11cc095
2 files changed
+13
-1
No files matched your search
@@ -112,6 +112,10 @@ CSFML_NETWORK_API sfSocketStatus sfTcpListener_listen(sfTcpListener* listener, u
|
||||
/// If the socket is in blocking mode, this function will
|
||||
/// not return until a connection is actually received.
|
||||
///
|
||||
/// The \a connected argument points to a valid sfTcpSocket pointer
|
||||
/// in case of success (the function returns sfSocketDone), it points
|
||||
/// to a NULL pointer otherwise.
|
||||
///
|
||||
/// \param listener TCP listener object
|
||||
/// \param connected Socket that will hold the new connection
|
||||
///
|
||||
|
||||
Reference in new issue
Block a user