www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Set gateway for socket

reply anonymous <user anonymous.com> writes:
Is there a way to set the gateway to connect through when creating a socket?
May 14 2008
parent downs <default_357-line yahoo.de> writes:
anonymous wrote:
 Is there a way to set the gateway to connect through when creating a socket?
That's a problem for your operating system, not your programming language. D can only expose what the underlying OS API offers. Anyway, any such calls would inevitably be highly platform specific, and thus interfere with Phobos' intended crossplatformness. (That's a no :) --downs
May 14 2008