I get
22: Invalid argument
I was suspecting whether I was passing a pointer
wrong... maybe you can point it out?
sendto (int s, const void *msg, size_t len, int flags,
const struct sockaddr *to, socklen_t tolen)
... myDst is not a pointer, so I have to pass it's
location to satisfy sendto()...
Hi,
I have a short function which is trying to send an
icmp message out a raw ipv6 socket.
when I run the following code I get "wrote -1"...
i.e. sendto() is returning an error. Can someone
please tell me what I'm doing wrong?
-----
#include <arpa/inet.h>
#include <netinet/in.h>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.