alex03 0 Newbie Poster

hello, i am trying to make a program to calculate round trip time.I know ping command can be used for this purpose but i don't know how to use this ping functionality in my c code.so can anyone help me?