Click here to Skip to main content
15,892,059 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: About Windows OS Pin
Stephen Hewitt22-Jun-06 14:24
Stephen Hewitt22-Jun-06 14:24 
QuestionSynchronous/Ascynchronous sockets Pin
CMas0722-Jun-06 3:58
CMas0722-Jun-06 3:58 
AnswerRe: Synchronous/Ascynchronous sockets Pin
Zac Howland22-Jun-06 5:29
Zac Howland22-Jun-06 5:29 
GeneralRe: Synchronous/Ascynchronous sockets Pin
led mike22-Jun-06 5:36
led mike22-Jun-06 5:36 
GeneralRe: Synchronous/Ascynchronous sockets Pin
Zac Howland22-Jun-06 6:13
Zac Howland22-Jun-06 6:13 
GeneralRe: Synchronous/Ascynchronous sockets Pin
led mike22-Jun-06 7:22
led mike22-Jun-06 7:22 
GeneralRe: Synchronous/Ascynchronous sockets Pin
Zac Howland22-Jun-06 7:24
Zac Howland22-Jun-06 7:24 
GeneralRe: Synchronous/Ascynchronous sockets Pin
CMas0722-Jun-06 5:58
CMas0722-Jun-06 5:58 
Zac Howland wrote:
You said this is for MC (multicast?) programming?


Oops...typo. I meant MFC. Sorry about the confusion there.

I used to have the set up like the one you described (1 thread for listening, and 1 per connection), but due to the possible number of clients connecting, I can't have so many threads going on at once.

As for the other points you made, I need to have the client wait for a response from the server after sending information (thus why I wanted to make it synchronous). The big problem is that on the server side, I need it to have as few threads as possible while it listens for connections and sends/receives data to and from the clients.

Richard Alley
Student/Software Engineer
GeneralRe: Synchronous/Ascynchronous sockets Pin
Zac Howland22-Jun-06 6:18
Zac Howland22-Jun-06 6:18 
QuestionRe: Synchronous/Ascynchronous sockets Pin
CMas075-Jul-06 3:34
CMas075-Jul-06 3:34 
AnswerRe: Synchronous/Ascynchronous sockets Pin
Zac Howland5-Jul-06 4:44
Zac Howland5-Jul-06 4:44 
GeneralRe: Synchronous/Ascynchronous sockets Pin
CMas075-Jul-06 5:02
CMas075-Jul-06 5:02 
GeneralRe: Synchronous/Ascynchronous sockets Pin
Zac Howland5-Jul-06 5:13
Zac Howland5-Jul-06 5:13 
AnswerRe: Synchronous/Ascynchronous sockets Pin
led mike22-Jun-06 5:34
led mike22-Jun-06 5:34 
GeneralRe: Synchronous/Ascynchronous sockets Pin
CMas0722-Jun-06 6:02
CMas0722-Jun-06 6:02 
Questionhow to open a *.txt file Pin
divisameer22-Jun-06 3:58
divisameer22-Jun-06 3:58 
AnswerRe: how to open a *.txt file Pin
toxcct22-Jun-06 3:59
toxcct22-Jun-06 3:59 
QuestionRe: how to open a *.txt file Pin
David Crow22-Jun-06 4:06
David Crow22-Jun-06 4:06 
AnswerRe: how to open a *.txt file Pin
Hamid_RT22-Jun-06 20:10
Hamid_RT22-Jun-06 20:10 
Questionvalues reading from a text document Pin
divisameer22-Jun-06 3:46
divisameer22-Jun-06 3:46 
AnswerRe: values reading from a text document Pin
_AnsHUMAN_ 22-Jun-06 3:50
_AnsHUMAN_ 22-Jun-06 3:50 
GeneralRe: values reading from a text document Pin
Cedric Moonen22-Jun-06 3:54
Cedric Moonen22-Jun-06 3:54 
GeneralRe: values reading from a text document Pin
toxcct22-Jun-06 3:58
toxcct22-Jun-06 3:58 
GeneralRe: values reading from a text document Pin
_AnsHUMAN_ 22-Jun-06 4:02
_AnsHUMAN_ 22-Jun-06 4:02 
AnswerRe: values reading from a text document Pin
Stephen Hewitt22-Jun-06 4:00
Stephen Hewitt22-Jun-06 4:00 

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.