View Single Post
Old 07-07-2004, 01:45 PM   #3 (permalink)
joe_bruin
LOAD "*",8,1
 
Join Date: Feb 2003
Location: la.ca.us
Posts: 254
joe_bruin is on a distinguished road
the BSD socket interface (or their derivative, Winsock) does not allow you to choose the outgoing IP or interface for connect(). It is up to the OS to choose the best route. There may be system-specific ways of doing this (perhaps some ioctl supported on your OS), but there is no general solution.
joe_bruin is offline   Reply With Quote