summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/Bug_3547_Regression/UDPTest_i.cpp
blob: b11fd7002510b45bf1d188169401b89919de6d0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// $Id$

#include "UDPTest_i.h"
#include <ace/Log_Msg.h>

unsigned char buf[1000] = {0} ;

UDPTest_i::UDPTest_i () : received_send_ (false)
{
}

UDPTest_i::~UDPTest_i ()
{
}

void UDPTest_i::send( const ::UDPTestI::BufferT Msg )
{
    memcpy( buf, Msg, 1000 ) ;
    memset( buf, 0, 1000 ) ;
    received_send_ = true;
}