summaryrefslogtreecommitdiff
path: root/src/udpsocket.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-01-14 23:18:17 +0000
committerMike Buland <eichlan@xagasoft.com>2011-01-14 23:18:17 +0000
commite3bd8a39947097a3130a4064a4b1ff6981a03c63 (patch)
tree1217e72d1504c1b671e195d2537fafcbf426e568 /src/udpsocket.cpp
parent9edd5b50c2b928be9fc7569170103a41cbc80e5f (diff)
downloadlibbu++-e3bd8a39947097a3130a4064a4b1ff6981a03c63.tar.gz
libbu++-e3bd8a39947097a3130a4064a4b1ff6981a03c63.tar.bz2
libbu++-e3bd8a39947097a3130a4064a4b1ff6981a03c63.tar.xz
libbu++-e3bd8a39947097a3130a4064a4b1ff6981a03c63.zip
Well...at least it compiles now...
Diffstat (limited to 'src/udpsocket.cpp')
-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