aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/udpsocket.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/udpsocket.cpp b/src/udpsocket.cpp
index b612b25..d836690 100644
--- a/src/udpsocket.cpp
+++ b/src/udpsocket.cpp
@@ -87,18 +87,19 @@ size_t Bu::UdpSocket::read( void *pBuf, size_t nBytes )
87} 87}
88 88
89size_t Bu::UdpSocket::read( void *pBuf, size_t nBytes, 89size_t Bu::UdpSocket::read( void *pBuf, size_t nBytes,
90 uint32_t nSec, uint32_t nUSec=0 ) 90 uint32_t nSec, uint32_t nUSec )
91{ 91{
92} 92}
93 93
94size_t Bu::UdpSocket::write( const void *pBuf, size_t nBytes ) 94size_t Bu::UdpSocket::write( const void *pBuf, size_t nBytes )
95{ 95{
96 return sendto( iUdpSocket, pBuf, nBytes, 0, 96// name, the destination address, needs to be a class variable...
97 (struct sockaddr *)&name, size ); 97// return sendto( iUdpSocket, pBuf, nBytes, 0,
98// (struct sockaddr *)&name, size );
98} 99}
99 100
100size_t Bu::UdpSocket::write( const void *pBuf, size_t nBytes, 101size_t Bu::UdpSocket::write( const void *pBuf, size_t nBytes,
101 uint32_t nSec, uint32_t nUSec=0 ) 102 uint32_t nSec, uint32_t nUSec )
102{ 103{
103} 104}
104 105
@@ -154,7 +155,7 @@ bool Bu::UdpSocket::isBlocking()
154{ 155{
155} 156}
156 157
157void Bu::UdpSocket::setBlocking( bool bBlocking=true ) 158void Bu::UdpSocket::setBlocking( bool bBlocking )
158{ 159{
159} 160}
160 161