Commit d557dbcb authored by Oleg Dzhimiev's avatar Oleg Dzhimiev

formatting

parent ce5a85ee
...@@ -108,8 +108,10 @@ int main(int argc, char **argv) { ...@@ -108,8 +108,10 @@ int main(int argc, char **argv) {
printf("packet: %06d, time: %lu.%06d\n", pnum, t0.tv_sec, t0.tv_usec); printf("packet: %06d, time: %lu.%06d\n", pnum, t0.tv_sec, t0.tv_usec);
generate_packet(buffer,pnum); generate_packet(buffer,pnum);
// tested // tested
//res = sendto(fd, (const char *)buffer, strlen(buffer), 0, (const struct sockaddr *) &servaddr, sizeof(servaddr)); //res = sendto(fd, (const char *)buffer, strlen(buffer), 0, (const struct sockaddr *) &servaddr, sizeof(servaddr));
// tested // tested
//res = write(fd,(const char *)buffer,strlen(buffer)); //res = write(fd,(const char *)buffer,strlen(buffer));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment