>
> Fix your code:
>
> if (getsockname(sock_descriptor, (struct sockaddr *)&sock_address, (socklen_t*)sizeof(struct sockaddr_in))==-1)
>
> No way this doesn't work, try:
I am such a FOOL! I spent all DAY running through two different source
trees trying to figure out what the 'heck' was wrong. Just finished 3
minutes ago satisfied teh kernel was PERFECT... So I go back to the
program, check the info pages and realize that it wants a pointer not a
number casted to a pointer type.. What the 'heck' was I thinkg?
I have no idea..
Argh argh argh. Feel free to send your flames now. 6+ years of C and I
make a stupid mistake like this.
Maybe this is why people sleep now and then eh?
My apologies for my ignorance.
----------------------------------------------------
ely <plexus@ionet.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/