sendto error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have created a RAW socket with a IP/TCP header of my own. I want to send
it using sendto.

When I use sendto, I get an error, "sendto:Invalid argument". Can someone
tell me, why do I get this error. I have used htons/l on all the numeric
arguments.

If you need to see the code, please let me know.

Thanks,
Nikhil.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux