Re: Problem with a router

Giganews Newsgroups
Subject: Re: Problem with a router
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Fri, 6 May 2005

"juan" <nospam@nospam.com> wrote in message
news:7C518166CEC9E240nospam@nospam.com...

> UDPCliente->Binding->SetSockOpt(Id_SOL_SOCKET, Id_SO_DONTROUTE,
> (char*)(&PassRouter), sizeof(PassRouter));

Microsoft Sockets don't support SO_DONTROUTE.  They are ignored by AF_INET
socket, fails on AF_INET6 sockets, and not supported by ATM sockets.

Besides, SO_DONTROUTE has nothing to do with routers anyway.  All it does is
tells the socket not to use the OS's router table to decide which installed
network adapter interface to send a packet to, but instead allows the
application to send the packet to an interface directly.

Gambit

Replies

None

In response to

Problem with a router posted by juan on Fri, 06 May 2005