Click here to Skip to main content
16,015,518 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionwinsock connect problem Pin
minihotto20-Sep-06 6:03
minihotto20-Sep-06 6:03 
AnswerRe: winsock connect problem Pin
viliam20-Sep-06 6:15
viliam20-Sep-06 6:15 
GeneralRe: winsock connect problem Pin
minihotto20-Sep-06 8:33
minihotto20-Sep-06 8:33 
AnswerRe: winsock connect problem Pin
led mike20-Sep-06 6:24
led mike20-Sep-06 6:24 
GeneralRe: winsock connect problem Pin
minihotto20-Sep-06 7:25
minihotto20-Sep-06 7:25 
GeneralRe: winsock connect problem Pin
led mike20-Sep-06 7:40
led mike20-Sep-06 7:40 
GeneralRe: winsock connect problem Pin
minihotto20-Sep-06 8:31
minihotto20-Sep-06 8:31 
AnswerRe: winsock connect problem Pin
Chipperm20-Sep-06 9:02
Chipperm20-Sep-06 9:02 
Is your server/client system using SOCK_DGRAM or SOCK_STREAM. if you are using SOCK_STREAM then once the connection is accepted using the accept function there should be a socket variable that the client is connected to.

SOCKET server;

//assume already in listen state
SOCKET client = accept(server, ...);
use the client variable to send messages back to the client machine like the following:

send(client, ...);



Chipper Martin

QuestionHow to kill the MFC icon Pin
nadiric20-Sep-06 6:02
nadiric20-Sep-06 6:02 
AnswerRe: How to kill the MFC icon Pin
toxcct20-Sep-06 6:04
toxcct20-Sep-06 6:04 
GeneralRe: How to kill the MFC icon Pin
nadiric20-Sep-06 6:42
nadiric20-Sep-06 6:42 
GeneralRe: How to kill the MFC icon Pin
Chris Losinger20-Sep-06 7:34
professionalChris Losinger20-Sep-06 7:34 
GeneralRe: How to kill the MFC icon Pin
nadiric20-Sep-06 7:48
nadiric20-Sep-06 7:48 
GeneralRe: How to kill the MFC icon Pin
Chris Losinger20-Sep-06 7:55
professionalChris Losinger20-Sep-06 7:55 
AnswerRe: How to kill the MFC icon Pin
David Crow20-Sep-06 7:52
David Crow20-Sep-06 7:52 
Questionmouse Pin
viliam20-Sep-06 5:50
viliam20-Sep-06 5:50 
AnswerRe: mouse Pin
tanvon malik20-Sep-06 6:21
tanvon malik20-Sep-06 6:21 
QuestionUser Control Developed in C# not appearing in VC++ Pin
rickettsd20-Sep-06 5:48
rickettsd20-Sep-06 5:48 
AnswerRe: User Control Developed in C# not appearing in VC++ Pin
Zac Howland20-Sep-06 8:18
Zac Howland20-Sep-06 8:18 
QuestionCalling SHBrowseForFolder from unmanaged VC++ code? Pin
BarryOg20-Sep-06 4:38
BarryOg20-Sep-06 4:38 
AnswerRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
Chris Losinger20-Sep-06 4:40
professionalChris Losinger20-Sep-06 4:40 
AnswerRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
led mike20-Sep-06 4:42
led mike20-Sep-06 4:42 
QuestionRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
David Crow20-Sep-06 5:18
David Crow20-Sep-06 5:18 
AnswerRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
Zac Howland20-Sep-06 5:25
Zac Howland20-Sep-06 5:25 
GeneralRe: Calling SHBrowseForFolder from unmanaged VC++ code? Pin
BarryOg20-Sep-06 9:06
BarryOg20-Sep-06 9:06 

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.