@@ -722,7 +722,7 @@ extern SDL_DECLSPEC int SDLCALL NET_GetConnectionStatus(NET_StreamSocket *sock);
722
722
* other networking failures occurred), this function will report failure by
723
723
* returning false. Stream sockets only report failure for unrecoverable
724
724
* conditions; once a stream socket fails, you should assume it is no longer
725
- * usable and should destroy it with SDL_DestroyStreamSocket ().
725
+ * usable and should destroy it with NET_DestroyStreamSocket ().
726
726
*
727
727
* \param sock the stream socket to send data through.
728
728
* \param buf a pointer to the data to send.
@@ -757,7 +757,7 @@ extern SDL_DECLSPEC bool SDLCALL NET_WriteToStreamSocket(NET_StreamSocket *sock,
757
757
* other networking failures occurred), this function will report failure by
758
758
* returning -1. Stream sockets only report failure for unrecoverable
759
759
* conditions; once a stream socket fails, you should assume it is no longer
760
- * usable and should destroy it with SDL_DestroyStreamSocket ().
760
+ * usable and should destroy it with NET_DestroyStreamSocket ().
761
761
*
762
762
* \param sock the stream socket to query.
763
763
* \returns number of bytes still pending transmission, -1 on failure; call
@@ -796,7 +796,7 @@ extern SDL_DECLSPEC int SDLCALL NET_GetStreamSocketPendingWrites(NET_StreamSocke
796
796
* other networking failures occurred), this function will report failure by
797
797
* returning -1. Stream sockets only report failure for unrecoverable
798
798
* conditions; once a stream socket fails, you should assume it is no longer
799
- * usable and should destroy it with SDL_DestroyStreamSocket ().
799
+ * usable and should destroy it with NET_DestroyStreamSocket ().
800
800
*
801
801
* \param sock the stream socket to wait on.
802
802
* \param timeout Number of milliseconds to wait for draining to complete. -1
@@ -846,7 +846,7 @@ extern SDL_DECLSPEC int SDLCALL NET_WaitUntilStreamSocketDrained(NET_StreamSocke
846
846
* other networking failures occurred), this function will report failure by
847
847
* returning -1. Stream sockets only report failure for unrecoverable
848
848
* conditions; once a stream socket fails, you should assume it is no longer
849
- * usable and should destroy it with SDL_DestroyStreamSocket ().
849
+ * usable and should destroy it with NET_DestroyStreamSocket ().
850
850
*
851
851
* \param sock the stream socket to receive data from.
852
852
* \param buf a pointer to a buffer where received data will be collected.
0 commit comments