From e3bd8a39947097a3130a4064a4b1ff6981a03c63 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 14 Jan 2011 23:18:17 +0000 Subject: Well...at least it compiles now... --- src/udpsocket.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/udpsocket.cpp') 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 ) } size_t Bu::UdpSocket::read( void *pBuf, size_t nBytes, - uint32_t nSec, uint32_t nUSec=0 ) + uint32_t nSec, uint32_t nUSec ) { } size_t Bu::UdpSocket::write( const void *pBuf, size_t nBytes ) { - return sendto( iUdpSocket, pBuf, nBytes, 0, - (struct sockaddr *)&name, size ); +// name, the destination address, needs to be a class variable... +// return sendto( iUdpSocket, pBuf, nBytes, 0, +// (struct sockaddr *)&name, size ); } size_t Bu::UdpSocket::write( const void *pBuf, size_t nBytes, - uint32_t nSec, uint32_t nUSec=0 ) + uint32_t nSec, uint32_t nUSec ) { } @@ -154,7 +155,7 @@ bool Bu::UdpSocket::isBlocking() { } -void Bu::UdpSocket::setBlocking( bool bBlocking=true ) +void Bu::UdpSocket::setBlocking( bool bBlocking ) { } -- cgit v1.2.3