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

C / C++ / MFC

 
GeneralRe: Bitblt Transparency question Pin
ForNow7-Jun-10 2:27
ForNow7-Jun-10 2:27 
QuestionAsynchronous sockets Pin
onyxbird5-Jun-10 19:06
onyxbird5-Jun-10 19:06 
AnswerRe: Asynchronous sockets Pin
Aescleal5-Jun-10 19:36
Aescleal5-Jun-10 19:36 
AnswerRe: Asynchronous sockets Pin
Moak6-Jun-10 8:06
Moak6-Jun-10 8:06 
GeneralRe: Asynchronous sockets Pin
onyxbird6-Jun-10 8:21
onyxbird6-Jun-10 8:21 
GeneralRe: Asynchronous sockets Pin
Moak6-Jun-10 10:13
Moak6-Jun-10 10:13 
GeneralRe: Asynchronous sockets Pin
onyxbird7-Jun-10 12:02
onyxbird7-Jun-10 12:02 
AnswerRe: Asynchronous sockets Pin
Mauro Leggieri6-Jun-10 9:11
Mauro Leggieri6-Jun-10 9:11 
Hi,

With select you check if you can write to a socket or read data from it. But there are some things about performance...

If you target Linux... it is best to use poll.

If you can, group many sockets in one select call (usually max is 64 sockets).

It you target Win2000 or later... try advanced io completion ports. The best thing.

Best regards,
Mauro H. Leggieri

P.D.: Check setsockopt to make a socket non-blocking.
GeneralRe: Asynchronous sockets Pin
onyxbird7-Jun-10 12:03
onyxbird7-Jun-10 12:03 
QuestionHow to Save Picture(Image) Pin
voo doo125-Jun-10 15:44
voo doo125-Jun-10 15:44 
AnswerRe: How to Save Picture(Image) [modified] Pin
Niklas L6-Jun-10 9:51
Niklas L6-Jun-10 9:51 
GeneralRe: How to Save Picture(Image) Pin
voo doo127-Jun-10 2:53
voo doo127-Jun-10 2:53 
GeneralRe: How to Save Picture(Image) Pin
Niklas L7-Jun-10 3:57
Niklas L7-Jun-10 3:57 
Questionhow to paint a bitmap to the dialog client dc from the memory dc Pin
Krauze5-Jun-10 14:54
Krauze5-Jun-10 14:54 
AnswerRe: how to paint a bitmap to the dialog client dc from the memory dc Pin
Niklas L6-Jun-10 11:15
Niklas L6-Jun-10 11:15 
QuestionHow to overlay Direct3d model in live webcam feed Pin
GreenGiant835-Jun-10 8:58
GreenGiant835-Jun-10 8:58 
QuestionHelp with hash tables in C Pin
arnluci5-Jun-10 6:48
arnluci5-Jun-10 6:48 
AnswerRe: Help with hash tables in C Pin
Luc Pattyn5-Jun-10 8:10
sitebuilderLuc Pattyn5-Jun-10 8:10 
GeneralRe: Help with hash tables in C Pin
arnluci5-Jun-10 11:09
arnluci5-Jun-10 11:09 
GeneralRe: Help with hash tables in C Pin
Luc Pattyn5-Jun-10 11:31
sitebuilderLuc Pattyn5-Jun-10 11:31 
GeneralRe: Help with hash tables in C Pin
Saurabh.Garg6-Jun-10 2:16
Saurabh.Garg6-Jun-10 2:16 
GeneralRe: Help with hash tables in C [modified] Pin
arnluci21-Jun-10 10:31
arnluci21-Jun-10 10:31 
Questionwhy does it use so many memory [modified][Solved] Pin
yu-jian5-Jun-10 5:25
yu-jian5-Jun-10 5:25 
AnswerRe: why does it use so many memory Pin
Aescleal5-Jun-10 6:17
Aescleal5-Jun-10 6:17 
GeneralRe: why does it use so many memory Pin
yu-jian6-Jun-10 3:10
yu-jian6-Jun-10 3:10 

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.