posix: fixed lib/platform/sockets/tcp.h compilation and some bugs. added CTcpSocket...
[deb_libcec.git] / src / lib / platform / windows / os-tcp.h
index 299ce379e8abab8015b0015cf4817a8e6dc76256..b05a3ddb0e2c2e4bbb437fe956b1921941aa611e 100644 (file)
 
 namespace PLATFORM
 {
+  inline void TcpShutdownSocket(socket_t socket)
+  {
+    shutdown(socket, SHUT_RDWR);
+  }
+
   inline int TcpResolveAddress(const CStdString &strHostname, uint16_t iPort, struct addrinfo *address)
   {
      struct addrinfo hints;