repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
posix: fixed lib/platform/sockets/tcp.h compilation and some bugs. added CTcpSocket...
[deb_libcec.git]
/
src
/
lib
/
platform
/
windows
/
os-tcp.h
diff --git
a/src/lib/platform/windows/os-tcp.h
b/src/lib/platform/windows/os-tcp.h
index 299ce379e8abab8015b0015cf4817a8e6dc76256..b05a3ddb0e2c2e4bbb437fe956b1921941aa611e 100644
(file)
--- a/
src/lib/platform/windows/os-tcp.h
+++ b/
src/lib/platform/windows/os-tcp.h
@@
-36,6
+36,11
@@
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;