Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / apps / drwho / SML_Client.cpp
blobc41305f7e603baf93bc171ef3c7c27b4d0b2e9fc
1 #include "Options.h"
2 #include "SML_Client.h"
4 int
5 SML_Client::receive (int)
7 if (sml_server.mux (this->recv_packet_, this->packet_length) < 0)
8 return -1;
10 if (this->demux (this->recv_packet_, this->packet_length) < 0)
11 return -1;
13 return 1;
16 int
17 SML_Client::send ()
19 if (this->mux (this->send_packet_, this->packet_length) < 0)
20 return -1;
22 if (sml_server.demux (this->send_packet_, this->packet_length) < 0)
23 return -1;
25 return 1;
28 SML_Client::SML_Client ()
32 SML_Client::~SML_Client ()