Click here to Skip to main content
15,909,039 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bitblt Transparency question Pin
ForNow6-Jun-10 11:20
ForNow6-Jun-10 11:20 
GeneralRe: Bitblt Transparency question Pin
ForNow6-Jun-10 11:30
ForNow6-Jun-10 11:30 
GeneralRe: Bitblt Transparency question Pin
Niklas L6-Jun-10 11:42
Niklas L6-Jun-10 11:42 
GeneralRe: Bitblt Transparency question Pin
ForNow6-Jun-10 11:48
ForNow6-Jun-10 11:48 
GeneralRe: Bitblt Transparency question Pin
ForNow6-Jun-10 17:42
ForNow6-Jun-10 17:42 
GeneralRe: Bitblt Transparency question Pin
Niklas L6-Jun-10 20:48
Niklas L6-Jun-10 20:48 
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 
Hello,

I'm trying to write a asynchronous server that accepts (non-blocking) clients receives data from the client and reponds.

I have managed to write and get it to work a single threaded server blocking & a multithreaded server that blocks also. But now I have to make one that doesn't block and only a single thread.

I know that I setup the socket to async mode with ioctlsocket(). but after that how do I do a non-blocking
listen() & accept(). Also I have been reading that I need to use select() for when a client needs to read, write, etc...

I have been staring at the following example at CP (Code Project) at Programming Windows TCP Sockets in C++ for the Beginner[^]

which is a great example, but mine is console based. So I understand that code for the most part. But since I'm not use MFC with it just C or C++ it is a little a different and I could really use some help. any help will be greatly appreciate, and ty in advance.
Gemini S....

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 
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 

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.