Click here to Skip to main content
15,917,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Problem displaying CStatic text item Pin
David Crow30-Jun-15 16:43
David Crow30-Jun-15 16:43 
GeneralRe: Problem displaying CStatic text item Pin
ForNow30-Jun-15 17:06
ForNow30-Jun-15 17:06 
AnswerRe: Problem displaying CStatic text item Pin
David Crow1-Jul-15 2:03
David Crow1-Jul-15 2:03 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 3:36
ForNow1-Jul-15 3:36 
GeneralRe: Problem displaying CStatic text item Pin
David Crow1-Jul-15 3:41
David Crow1-Jul-15 3:41 
GeneralRe: Problem displaying CStatic text item Pin
jeron11-Jul-15 4:04
jeron11-Jul-15 4:04 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 5:19
ForNow1-Jul-15 5:19 
GeneralRe: Problem displaying CStatic text item Pin
jeron11-Jul-15 5:59
jeron11-Jul-15 5:59 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 10:21
ForNow1-Jul-15 10:21 
GeneralRe: Problem displaying CStatic text item Pin
jeron11-Jul-15 11:32
jeron11-Jul-15 11:32 
GeneralRe: Problem displaying CStatic text item Pin
ForNow1-Jul-15 12:19
ForNow1-Jul-15 12:19 
GeneralRe: Problem displaying CStatic text item Pin
ForNow2-Jul-15 13:27
ForNow2-Jul-15 13:27 
Questionrecv no blocking Pin
mosine29-Jun-15 21:33
mosine29-Jun-15 21:33 
AnswerRe: recv no blocking Pin
CPallini29-Jun-15 21:54
mveCPallini29-Jun-15 21:54 
GeneralRe: recv no blocking Pin
mosine29-Jun-15 22:21
mosine29-Jun-15 22:21 
GeneralRe: recv no blocking Pin
CPallini29-Jun-15 22:35
mveCPallini29-Jun-15 22:35 
GeneralRe: recv no blocking Pin
mosine29-Jun-15 22:52
mosine29-Jun-15 22:52 
GeneralRe: recv no blocking Pin
CPallini29-Jun-15 23:01
mveCPallini29-Jun-15 23:01 
GeneralRe: recv no blocking Pin
mosine29-Jun-15 23:06
mosine29-Jun-15 23:06 
GeneralRe: recv no blocking Pin
CPallini29-Jun-15 23:24
mveCPallini29-Jun-15 23:24 
GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 8:12
professionalDaniel Pfeffer30-Jun-15 8:12 
GeneralRe: recv no blocking Pin
Albert Holguin30-Jun-15 13:26
professionalAlbert Holguin30-Jun-15 13:26 
Daniel Pfeffer wrote:
IMO, a multithreaded blocking recv() implementation is conceptually much simpler than a non-blocking recv() implementation.

Yep, and it works really well... just be careful for hanging sockets in Linux.


Daniel Pfeffer wrote:
If you only have one physical machine, I suggest installing Windows in a virtual machine, and running one of the tasks there. That would ensure that the platforms are separate, and would help you to track down the 100% CPU issue.

This might actually yield the same result. The issue is the super low latency in the network when everything is co-located. Essentially if you're tx and rx run as fast as possible, it could take up all the CPU time available.

modified 30-Jun-15 19:41pm.

GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 17:53
professionalDaniel Pfeffer30-Jun-15 17:53 
GeneralRe: recv no blocking Pin
Albert Holguin1-Jul-15 4:02
professionalAlbert Holguin1-Jul-15 4:02 
GeneralRe: recv no blocking Pin
Albert Holguin30-Jun-15 13:27
professionalAlbert Holguin30-Jun-15 13:27 

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.