Re: [POSIX & Win32API] Getting the 'routing' informations
- From: Maciej Piechotka <uzytkownik2@xxxxxxxxx>
- Date: Mon, 19 Jan 2009 11:31:36 +0100
Rafael <devlists@xxxxxxxxxx> writes:
Hello Maciej, List
Maciej Piechotka escreveu:
PS. Sample pseudocode:
I can see the pseudo, but where is the code?
int test_socket (SOCKET s, struct sockaddr *sockaddr, socklen_t socklen)
{
/* ... */
}
You should return EXIT_FAILURE; here, or people will call your post
off-topic.
I have a binded datagram/packet socket. Is it possible to get an
information should I send a packet with given sockaddr through this
socket?
I'm Sorry Maciej, but your question... mmm... I can't pick a side. So
many ways to read this.
I'd like to have at most 2 codes - for BSD sockets and winsock2.
But ok... winsock2 and berkeley sockets are (kind) the same. You can
just use a couple ifdefs and you're fine.
I know. But I need some information how to access routing not basic
informations...
Regards
--
I've probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see http://counter.li.org/)
.
- Follow-Ups:
- Re: [POSIX & Win32API] Getting the 'routing' informations
- From: Ian Collins
- Re: [POSIX & Win32API] Getting the 'routing' informations
- References:
- [POSIX & Win32API] Getting the 'routing' informations
- From: Maciej Piechotka
- Re: [POSIX & Win32API] Getting the 'routing' informations
- From: Rafael
- [POSIX & Win32API] Getting the 'routing' informations
- Prev by Date: Re: (part1) Han from China teaches you C
- Next by Date: Re: [POSIX & Win32API] Getting the 'routing' informations
- Previous by thread: Re: [POSIX & Win32API] Getting the 'routing' informations
- Next by thread: Re: [POSIX & Win32API] Getting the 'routing' informations
- Index(es):