Click here to Skip to main content
15,900,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Creating Thread in DLL Pin
aman20066-Aug-04 6:46
aman20066-Aug-04 6:46 
GeneralPicture control question Pin
ben25-Aug-04 13:12
ben25-Aug-04 13:12 
GeneralRe: Picture control question Pin
oustar5-Aug-04 16:41
oustar5-Aug-04 16:41 
GeneralRe: Picture control question Pin
Ryan Binns5-Aug-04 18:09
Ryan Binns5-Aug-04 18:09 
GeneralCreate a MSFlexGrid within my ActiveX Control Pin
Pinhead_Me5-Aug-04 12:08
Pinhead_Me5-Aug-04 12:08 
QuestionCan Tcp/Ip "Accept() " Be Made "Non Blocking" Pin
jerry1211a5-Aug-04 12:02
jerry1211a5-Aug-04 12:02 
AnswerRe: Can Tcp/Ip "Accept() " Be Made "Non Blocking" Pin
Ravi Bhavnani5-Aug-04 13:58
professionalRavi Bhavnani5-Aug-04 13:58 
GeneralRe: Can Tcp/Ip "Accept() " Be Made "Non Blocking" Pin
Ryan Binns5-Aug-04 18:33
Ryan Binns5-Aug-04 18:33 
Ravi Bhavnani wrote:
Listen() is a blocking call (I believe you can specify a timeout) that waits for a client to connect. Accept() is called when the connection is accepted.

Actually, Listen() simply sets up the socket for accepting connections, and accepts the size of the connection backlog (how many connections can be queued before they are accepted using Accept()). Accept() is a blocking call that waits for a connection, and accepts it when one arrives.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: Can Tcp/Ip "Accept() " Be Made "Non Blocking" Pin
Ravi Bhavnani6-Aug-04 2:51
professionalRavi Bhavnani6-Aug-04 2:51 
AnswerRe: Can Tcp/Ip "Accept() " Be Made "Non Blocking" Pin
Rickard Andersson205-Aug-04 15:38
Rickard Andersson205-Aug-04 15:38 
AnswerRe: Can Tcp/Ip "Accept() " Be Made "Non Blocking" Pin
palbano5-Aug-04 19:08
palbano5-Aug-04 19:08 
AnswerRe: Can Tcp/Ip "Accept() " Be Made "Non Blocking" Pin
geo_m5-Aug-04 22:24
geo_m5-Aug-04 22:24 
QuestionCorrect ReBar/ToolBar/DialogBar functionality? Pin
JBlair5-Aug-04 10:41
JBlair5-Aug-04 10:41 
QuestionHow to send kb/mouse message to an un-active "Notepad"? Pin
Member 6253945-Aug-04 10:25
Member 6253945-Aug-04 10:25 
GeneralConnecting to multiple servers thru single port client connection Pin
Sivaji5-Aug-04 9:26
Sivaji5-Aug-04 9:26 
GeneralRe: Connecting to multiple servers thru single port client connection Pin
palbano5-Aug-04 19:13
palbano5-Aug-04 19:13 
Generalautomate the "create a new connection" wizard Pin
guangguang5-Aug-04 7:37
guangguang5-Aug-04 7:37 
GeneralRe: automate the "create a new connection" wizard Pin
PJ Arends5-Aug-04 7:55
professionalPJ Arends5-Aug-04 7:55 
Generalpls help... its very urgent... Pin
deep_gz5-Aug-04 6:49
sussdeep_gz5-Aug-04 6:49 
GeneralRe: pls help... its very urgent... Pin
Navin5-Aug-04 7:19
Navin5-Aug-04 7:19 
GeneralRe: pls help... its very urgent... Pin
deep gz5-Aug-04 8:05
sussdeep gz5-Aug-04 8:05 
GeneralRe: pls help... its very urgent... Pin
David Crow5-Aug-04 9:46
David Crow5-Aug-04 9:46 
GeneralRe: pls help... its very urgent... Pin
David Crow5-Aug-04 7:31
David Crow5-Aug-04 7:31 
GeneralRe: pls help... its very urgent... Pin
wb5-Aug-04 10:04
wb5-Aug-04 10:04 
QuestionEvent Handler Never Called?? Pin
hyling5-Aug-04 5:47
hyling5-Aug-04 5:47 

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.