Send TCP FIN after completion of our RTSP request

This allows servers to read until a FIN, just like we do on the client.
This commit is contained in:
Cameron Gutman
2023-02-13 21:47:22 -06:00
parent 8186687093
commit 95e3e26d12
2 changed files with 5 additions and 0 deletions

View File

@@ -15,6 +15,8 @@
#define SetLastSocketError(x) WSASetLastError(x)
#define LastSocketError() WSAGetLastError()
#define SHUT_RD SD_RECEIVE
#define SHUT_WR SD_SEND
#define SHUT_RDWR SD_BOTH
#ifdef EAGAIN