void* sender()
{
- fwp_endpoint_t *sepoint;
+ struct fwp_endpoint *sepoint;
fwp_vres_t *vres;
struct fwp_vres_params vparam1;
char msg1[10];
while (count < NUM){
count++;
sprintf(msg1,"msg%d sent\n",count);
- fwp_send(sepoint, msg1, sizeof(msg1));
+ fwp_send_sync(sepoint, msg1, sizeof(msg1));
printf(msg1);
/*clock_gettime(CLOCK_MONOTONIC, &sendtime);
{
ssize_t len;
char buffer[30];
- fwp_endpoint_t *repoint;
+ struct fwp_endpoint *repoint;
int count;
struct timespec recvtime;
fwp_addr_t from;