diff options
author | Mike Buland <eichlan@xagasoft.com> | 2011-01-14 23:18:17 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2011-01-14 23:18:17 +0000 |
commit | e3bd8a39947097a3130a4064a4b1ff6981a03c63 (patch) | |
tree | 1217e72d1504c1b671e195d2537fafcbf426e568 /src/udpsocket.cpp | |
parent | 9edd5b50c2b928be9fc7569170103a41cbc80e5f (diff) | |
download | libbu++-e3bd8a39947097a3130a4064a4b1ff6981a03c63.tar.gz libbu++-e3bd8a39947097a3130a4064a4b1ff6981a03c63.tar.bz2 libbu++-e3bd8a39947097a3130a4064a4b1ff6981a03c63.tar.xz libbu++-e3bd8a39947097a3130a4064a4b1ff6981a03c63.zip |
Well...at least it compiles now...
Diffstat (limited to '')
-rw-r--r-- | src/udpsocket.cpp | 11 |
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 | ||
89 | size_t Bu::UdpSocket::read( void *pBuf, size_t nBytes, | 89 | size_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 | ||
94 | size_t Bu::UdpSocket::write( const void *pBuf, size_t nBytes ) | 94 | size_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 | ||
100 | size_t Bu::UdpSocket::write( const void *pBuf, size_t nBytes, | 101 | size_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 | ||
157 | void Bu::UdpSocket::setBlocking( bool bBlocking=true ) | 158 | void Bu::UdpSocket::setBlocking( bool bBlocking ) |
158 | { | 159 | { |
159 | } | 160 | } |
160 | 161 | ||