ICMP Socket on QNX v6

Hi everyone…
I’ve created a socket using IPPROTO_ICMP and it was successfull…I mean
there was not error occured. But the problem was that I couldn’t send any
message using this socket. Can anyone know how to solve it? If so, I’ll be
very happy to have your answer. :slight_smile:

Best regards.
Jang-Hun


p.s:
icmp_socket = socket( AF_INET, SOCK_RAW, IPPROTO_ICMP );
if( icmp_socket < 0 ) {
printf( “Can’t create a icmp-socket\n” );
exit( -1 );
}