28 #define MAX_PACKET_LEN 256 29 #define NUM_PACKET 1000000 35 opensplice_dds_comm::MSFPPacket packet;
40 std::string
test=NULL;
46 packet.packet_source = 1;
47 packet.packet_version = 0;
48 packet.packet_type = 0;
50 packet.packet_data = string_dup(buf);
51 packet.package_check_sum=0;
52 std::cout <<
"Writing packet: \"" << packet.packet_data <<
"\"" << endl;
void publish(const GSDFPacket &packet)
void checkHandle(void *handle, const char *info)