Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionC++ and Databases Pin
Jay Minor9-Jan-08 14:57
Jay Minor9-Jan-08 14:57 
GeneralRe: C++ and Databases Pin
Hamid_RT9-Jan-08 19:00
Hamid_RT9-Jan-08 19:00 
QuestionRe: C++ and Databases Pin
David Crow10-Jan-08 2:50
David Crow10-Jan-08 2:50 
QuestionContext menu for menu Pin
blackbondi9-Jan-08 11:02
blackbondi9-Jan-08 11:02 
GeneralRe: Context menu for menu Pin
Mark Salsbery9-Jan-08 11:22
Mark Salsbery9-Jan-08 11:22 
GeneralRe: Context menu for menu Pin
blackbondi10-Jan-08 1:58
blackbondi10-Jan-08 1:58 
QuestionHow to set a socket's Ethernet adapter? Pin
masnu9-Jan-08 6:37
masnu9-Jan-08 6:37 
GeneralRe: How to set a socket's Ethernet adapter? Pin
Mark Salsbery9-Jan-08 6:53
Mark Salsbery9-Jan-08 6:53 
masnu wrote:
Is there any way to specify which Ethernet adapter a socket connetion uses?


For a local socket, that's what the bind() function is for.

masnu wrote:
The connection will always try to use the first available network adapter, which is not necessarily the one connected to the requested port.


I'm confused here. The port you specified is for the destination address, not the
local address. Again, use bind() to bind a socket to the adapter with the specific
address before calling connect().

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

GeneralRe: How to set a socket's Ethernet adapter? Pin
cmk9-Jan-08 9:45
cmk9-Jan-08 9:45 
QuestionHelp with Driver Development Kit [modified] Pin
tibiz9-Jan-08 5:08
tibiz9-Jan-08 5:08 
GeneralRe: Help with Driver Development Kit Pin
JudyL_MD9-Jan-08 7:13
JudyL_MD9-Jan-08 7:13 
QuestionCurrency Formatting Pin
littleGreenDude9-Jan-08 3:50
littleGreenDude9-Jan-08 3:50 
GeneralRe: Currency Formatting Pin
David Crow9-Jan-08 4:10
David Crow9-Jan-08 4:10 
GeneralRe: Currency Formatting Pin
Hamid_RT9-Jan-08 18:39
Hamid_RT9-Jan-08 18:39 
GeneralCasting with templates problem Pin
Vics9-Jan-08 3:49
Vics9-Jan-08 3:49 
GeneralRe: Casting with templates problem Pin
CPallini9-Jan-08 4:09
mveCPallini9-Jan-08 4:09 
QuestionSetting File Properties programmatically Pin
feather9-Jan-08 3:41
feather9-Jan-08 3:41 
GeneralRe: Setting File Properties programmatically Pin
David Crow9-Jan-08 4:13
David Crow9-Jan-08 4:13 
Generalworking set, virtual bytes and private bytes Pin
George_George9-Jan-08 3:27
George_George9-Jan-08 3:27 
GeneralRe: working set, virtual bytes and private bytes Pin
led mike9-Jan-08 5:11
led mike9-Jan-08 5:11 
GeneralRe: working set, virtual bytes and private bytes Pin
toxcct9-Jan-08 5:19
toxcct9-Jan-08 5:19 
GeneralRe: working set, virtual bytes and private bytes Pin
George_George9-Jan-08 16:27
George_George9-Jan-08 16:27 
GeneralRe: working set, virtual bytes and private bytes Pin
toxcct9-Jan-08 21:43
toxcct9-Jan-08 21:43 
GeneralRe: working set, virtual bytes and private bytes Pin
George_George9-Jan-08 16:25
George_George9-Jan-08 16:25 
GeneralRe: working set, virtual bytes and private bytes Pin
led mike10-Jan-08 6:40
led mike10-Jan-08 6:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.