Click here to Skip to main content
15,891,184 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problems with sending UPD Packets over sendto Pin
Stuart Dootson12-Jan-09 0:11
professionalStuart Dootson12-Jan-09 0:11 
GeneralRe: Problems with sending UPD Packets over sendto Pin
CrazyDogg12-Jan-09 0:18
CrazyDogg12-Jan-09 0:18 
GeneralRe: Problems with sending UPD Packets over sendto Pin
David Crow12-Jan-09 3:11
David Crow12-Jan-09 3:11 
GeneralRe: Problems with sending UPD Packets over sendto Pin
CrazyDogg12-Jan-09 3:41
CrazyDogg12-Jan-09 3:41 
GeneralRe: Problems with sending UPD Packets over sendto Pin
David Crow12-Jan-09 3:45
David Crow12-Jan-09 3:45 
GeneralRe: Problems with sending UPD Packets over sendto Pin
CrazyDogg12-Jan-09 3:48
CrazyDogg12-Jan-09 3:48 
QuestionWhy does ConnectEx need a bound socket? Pin
followait11-Jan-09 23:32
followait11-Jan-09 23:32 
AnswerRe: Why does ConnectEx need a bound socket? Pin
Stuart Dootson12-Jan-09 0:01
professionalStuart Dootson12-Jan-09 0:01 
Ummm - because that's the way the API works?

A socket is a communications endpoint - it needs an address (IP address and port number) before it can be used. For a client, the address is 'localhost' (or 127.0.0.1), whilte the port .

The Microsoft samples I've seen use the connect function rather than ConnectEx. connect doesn't require a bound socket - a bind (I would imagine) to an arbitrary port on localhost occurs within connect. ConnectEx gives a significant amount of flexibility in comparison - and (part of) the price for that would appear to be that you have to do the socket binding yourself.
QuestionSave an image using CImage class Pin
VC++Maniac11-Jan-09 23:02
VC++Maniac11-Jan-09 23:02 
AnswerRe: Save an image using CImage class Pin
CPallini11-Jan-09 23:43
mveCPallini11-Jan-09 23:43 
GeneralRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 0:10
VC++Maniac12-Jan-09 0:10 
GeneralRe: Save an image using CImage class Pin
Code-o-mat12-Jan-09 0:47
Code-o-mat12-Jan-09 0:47 
QuestionRe: Save an image using CImage class Pin
CPallini12-Jan-09 0:47
mveCPallini12-Jan-09 0:47 
AnswerRe: Save an image using CImage class Pin
Hamid_RT12-Jan-09 1:04
Hamid_RT12-Jan-09 1:04 
GeneralRe: Save an image using CImage class Pin
CPallini12-Jan-09 1:33
mveCPallini12-Jan-09 1:33 
GeneralRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 1:54
VC++Maniac12-Jan-09 1:54 
GeneralRe: Save an image using CImage class Pin
Hamid_RT12-Jan-09 1:56
Hamid_RT12-Jan-09 1:56 
GeneralRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 2:18
VC++Maniac12-Jan-09 2:18 
GeneralRe: Save an image using CImage class Pin
Hamid_RT12-Jan-09 2:23
Hamid_RT12-Jan-09 2:23 
GeneralRe: Save an image using CImage class Pin
Mark Salsbery12-Jan-09 7:19
Mark Salsbery12-Jan-09 7:19 
GeneralRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 17:18
VC++Maniac12-Jan-09 17:18 
QuestionRe: Save an image using CImage class Pin
Mark Salsbery12-Jan-09 17:46
Mark Salsbery12-Jan-09 17:46 
AnswerRe: Save an image using CImage class Pin
VC++Maniac12-Jan-09 21:10
VC++Maniac12-Jan-09 21:10 
GeneralRe: Save an image using CImage class Pin
Mark Salsbery13-Jan-09 6:24
Mark Salsbery13-Jan-09 6:24 
GeneralRe: Save an image using CImage class Pin
CPallini12-Jan-09 2:34
mveCPallini12-Jan-09 2:34 

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.