Click here to Skip to main content
16,013,322 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: URLDownloadtoFile help Pin
Ravi Bhavnani22-May-04 12:48
professionalRavi Bhavnani22-May-04 12:48 
GeneralRe: URLDownloadtoFile help Pin
Ryan McDermott22-May-04 12:55
Ryan McDermott22-May-04 12:55 
GeneralRe: URLDownloadtoFile help Pin
Michael Dunn22-May-04 13:16
sitebuilderMichael Dunn22-May-04 13:16 
GeneralAccelerators in Dialogs Pin
Tyrus18222-May-04 11:17
Tyrus18222-May-04 11:17 
GeneralRe: Accelerators in Dialogs Pin
User 1278222-May-04 16:50
User 1278222-May-04 16:50 
Generaltelnet on graphics plat form Pin
elymarrak22-May-04 10:29
elymarrak22-May-04 10:29 
GeneralMFC Sockets Pin
Archer28222-May-04 7:37
Archer28222-May-04 7:37 
GeneralRe: MFC Sockets Pin
toxcct22-May-04 9:01
toxcct22-May-04 9:01 
Beej's Guide to Network Programming[^]... the best tutorial i've ever read about sockets. there, search for the PDF.
in fact, it's not exactly about windows sockets (it is even linux oriented), but this recalls the Berkeley sockets, which is quite the same whatever the plateform.
For windows, you just have to #include <winsock.h>, and to write some lines with WSADATA :
<font style="color:blue;">#include</font> <winsock.h>

<font style="color:green;">// your code starts...</font>
{
    WSADATA wsaData;     <font style="color:green;">// If this doesn't work,</font>
<font style="color:green;">//  WSAData wsaData;     // then try this instead</font>
 
    <font style="color:blue;">if</font> (WSAStartup(MAKEWORD(1, 1), &wsaData) != 0) {
        fprintf(stderr, <font style="color:purple;">WSAStartup failed.\n"</font>);
        exit(1);
    }
    <font style="color:green;">//...</font>
}

But don't worry, that is explain it the 1.5. Note for Windows Programmers
have a look, that's interresting !

Best regards


TOXCCT >>> GEII power


GeneralRe: MFC Sockets Pin
Ravi Bhavnani22-May-04 9:04
professionalRavi Bhavnani22-May-04 9:04 
GeneralRe: MFC Sockets Pin
Archer28222-May-04 9:24
Archer28222-May-04 9:24 
GeneralRe: MFC Sockets Pin
Ravi Bhavnani22-May-04 9:38
professionalRavi Bhavnani22-May-04 9:38 
GeneralRe: MFC Sockets Pin
Archer28222-May-04 9:44
Archer28222-May-04 9:44 
Questionhow do I ad my app to send to menu? Pin
Spiritofamerica22-May-04 4:42
Spiritofamerica22-May-04 4:42 
AnswerRe: how do I ad my app to send to menu? Pin
Michael Dunn22-May-04 5:44
sitebuilderMichael Dunn22-May-04 5:44 
GeneralRe: how do I ad my app to send to menu? Pin
Dennis Gourjii24-May-04 2:57
Dennis Gourjii24-May-04 2:57 
QuestionVC++ 6.0 and VC++ .net on the same computer? Pin
toothless boots22-May-04 4:21
toothless boots22-May-04 4:21 
AnswerRe: VC++ 6.0 and VC++ .net on the same computer? Pin
Maxwell Chen22-May-04 4:27
Maxwell Chen22-May-04 4:27 
AnswerRe: VC++ 6.0 and VC++ .net on the same computer? Pin
toxcct22-May-04 4:58
toxcct22-May-04 4:58 
AnswerRe: VC++ 6.0 and VC++ .net on the same computer? Pin
Joe Woodbury22-May-04 6:21
professionalJoe Woodbury22-May-04 6:21 
AnswerRe: VC++ 6.0 and VC++ .net on the same computer? Pin
Steve Mayfield22-May-04 14:24
Steve Mayfield22-May-04 14:24 
GeneralRe: VC++ 6.0 and VC++ .net on the same computer? Pin
Maxwell Chen22-May-04 22:34
Maxwell Chen22-May-04 22:34 
GeneralRe: VC++ 6.0 and VC++ .net on the same computer? Pin
Steve Mayfield23-May-04 7:58
Steve Mayfield23-May-04 7:58 
GeneralRe: VC++ 6.0 and VC++ .net on the same computer? Pin
Maxwell Chen23-May-04 16:29
Maxwell Chen23-May-04 16:29 
AnswerRe: VC++ 6.0 and VC++ .net on the same computer? Pin
toothless boots23-May-04 12:11
toothless boots23-May-04 12:11 
GeneralRe: VC++ 6.0 and VC++ .net on the same computer? Pin
Gary R. Wheeler23-May-04 12:15
Gary R. Wheeler23-May-04 12:15 

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.