Click here to Skip to main content
15,888,454 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Right-click on Tree Control gives bad values. Pin
Gary R. Wheeler5-Feb-07 12:57
Gary R. Wheeler5-Feb-07 12:57 
QuestionUnable to export a public static member. Pin
tntlei5-Feb-07 3:30
tntlei5-Feb-07 3:30 
AnswerRe: Unable to export a public static member. Pin
tntlei5-Feb-07 3:32
tntlei5-Feb-07 3:32 
QuestionCDBVariant problem Pin
prithaa5-Feb-07 3:16
prithaa5-Feb-07 3:16 
QuestionINADDR_ANY with second socket? Pin
Dave_5-Feb-07 2:41
Dave_5-Feb-07 2:41 
AnswerRe: INADDR_ANY with second socket? Pin
Mark Salsbery5-Feb-07 5:46
Mark Salsbery5-Feb-07 5:46 
GeneralRe: INADDR_ANY with second socket? Pin
Dave_5-Feb-07 6:01
Dave_5-Feb-07 6:01 
GeneralRe: INADDR_ANY with second socket? Pin
Mark Salsbery5-Feb-07 6:26
Mark Salsbery5-Feb-07 6:26 
A socket address consists of an address and a port.

listen() would be used on a connection-oriented protocol (like TCP) socket. You need to
create a socket to listen on and bind it to a specific address to listen on. Once a socket is
placed in the listen state you don't recv data on it. You receive connection attempts on it.
Accepting a connection creates a new, connected socket which will be used for send/recv of
data.

For UDP, which is connectionless, you'd create a socket and bind it to an address. Then you
can either use connect to set a default destination address on it and/or use sendto/recvfrom to
send and receive datagrams to/from multiple destination addresses.

Only one socket per protocol can be bound to a specific address so there's never a race
condition.
AnswerRe: INADDR_ANY with second socket? Pin
malaugh5-Feb-07 9:06
malaugh5-Feb-07 9:06 
QuestionReading CSV file using C Pin
rp_suman5-Feb-07 1:57
rp_suman5-Feb-07 1:57 
QuestionRe: Reading CSV file using C Pin
David Crow5-Feb-07 2:57
David Crow5-Feb-07 2:57 
AnswerRe: Reading CSV file using C Pin
rp_suman5-Feb-07 17:46
rp_suman5-Feb-07 17:46 
GeneralRe: Reading CSV file using C Pin
David Crow6-Feb-07 3:03
David Crow6-Feb-07 3:03 
GeneralRe: Reading CSV file using C Pin
rp_suman19-Feb-07 0:07
rp_suman19-Feb-07 0:07 
AnswerRe: Reading CSV file using C Pin
ThatsAlok6-Feb-07 20:10
ThatsAlok6-Feb-07 20:10 
QuestionSizing controls Pin
baerten5-Feb-07 1:55
baerten5-Feb-07 1:55 
AnswerRe: Sizing controls Pin
Waldermort5-Feb-07 2:10
Waldermort5-Feb-07 2:10 
GeneralRe: Sizing controls Pin
baerten5-Feb-07 3:10
baerten5-Feb-07 3:10 
GeneralRe: Sizing controls Pin
Waldermort5-Feb-07 3:22
Waldermort5-Feb-07 3:22 
GeneralRe: Sizing controls Pin
baerten5-Feb-07 3:41
baerten5-Feb-07 3:41 
QuestionCToolBar basic questions Pin
PatrykDabrowski5-Feb-07 1:02
PatrykDabrowski5-Feb-07 1:02 
AnswerRe: CToolBar basic questions Pin
Mark Salsbery5-Feb-07 6:54
Mark Salsbery5-Feb-07 6:54 
QuestionRe: CToolBar basic questions Pin
PatrykDabrowski5-Feb-07 12:58
PatrykDabrowski5-Feb-07 12:58 
AnswerRe: CToolBar basic questions Pin
Mark Salsbery5-Feb-07 13:37
Mark Salsbery5-Feb-07 13:37 
QuestionXPCOM Creation Pin
johnalek5-Feb-07 0:53
johnalek5-Feb-07 0:53 

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.