public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* sendto error
@ 2004-03-10 11:40 Nikhil Kulkarni
  0 siblings, 0 replies; only message in thread
From: Nikhil Kulkarni @ 2004-03-10 11:40 UTC (permalink / raw)
  To: gcc-help

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-10  5:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-10 11:40 sendto error Nikhil Kulkarni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).