[POSIX & Win32API] Getting the 'routing' informations
- From: Maciej Piechotka <uzytkownik2@xxxxxxxxx>
- Date: Sun, 18 Jan 2009 17:13:11 +0100
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'd like to have at most 2 codes - for BSD sockets and winsock2.
PS. Sample pseudocode:
int test_socket (SOCKET s, struct sockaddr *sockaddr, socklen_t socklen)
{
/* ... */
}
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: Rafael
- Re: [POSIX & Win32API] Getting the 'routing' informations
- From: Ian Collins
- Re: [POSIX & Win32API] Getting the 'routing' informations
- From: CBFalconer
- Re: [POSIX & Win32API] Getting the 'routing' informations
- From: Jack Klein
- Re: [POSIX & Win32API] Getting the 'routing' informations
- Prev by Date: Re: The C Programming Language: Third Edition
- Next by Date: Re: C vs. C++
- Previous by thread: I can't get the uppercase letter to convert to the lower case level (Please don't bait Han from China)
- Next by thread: Re: [POSIX & Win32API] Getting the 'routing' informations
- Index(es):
Relevant Pages
|