Click here to Skip to main content
15,886,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 17:53
professionalDaniel Pfeffer30-Jun-15 17:53 
Albert Holguin wrote:
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

I thought the problem was an optimization in the network stack that gave special treatment to packets sent to the local IP address (127.0.0.1 or the network address). In this case, the data are simply copied to the recv() buffer, without any thread switches etc.

The network drivers provided by the virtual machine monitor may not be optimized to such an extent. While it is possible to detect (and optimize for) packets sent to/from the host O/S, there would be no point in it as the emulation would be less close to a separate machine. I suspect that the virtual machine monitor emulates the physical network card driver, leaving the rest of the network stack untouched.
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.

--Winston Churchill

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 
QuestionCan a modeless Dialog Box be a main window "m_pMainWnd" Pin
ForNow29-Jun-15 5:07
ForNow29-Jun-15 5:07 
AnswerRe: Can a modeless Dialog Box be a main window "m_pMainWnd" Pin
Richard MacCutchan29-Jun-15 5:12
mveRichard MacCutchan29-Jun-15 5:12 
GeneralRe: Can a modeless Dialog Box be a main window "m_pMainWnd" Pin
ForNow29-Jun-15 5:22
ForNow29-Jun-15 5:22 
QuestionCan anybody help me with converting this example for x64? Pin
Member 802436529-Jun-15 2:42
Member 802436529-Jun-15 2:42 
SuggestionRe: Can anybody help me with converting this example for x64? Pin
Richard MacCutchan29-Jun-15 3:36
mveRichard MacCutchan29-Jun-15 3:36 
QuestionQ: CTreeCtrl: How to over-ride default selection of item Pin
ShivaPrasadGadapa28-Jun-15 23:43
ShivaPrasadGadapa28-Jun-15 23:43 
QuestionDraw in front of bitmap Pin
lor7527-Jun-15 8:11
lor7527-Jun-15 8:11 
AnswerRe: Draw in front of bitmap Pin
Richard MacCutchan27-Jun-15 21:11
mveRichard MacCutchan27-Jun-15 21:11 
GeneralRe: Draw in front of bitmap Pin
lor7527-Jun-15 22:22
lor7527-Jun-15 22:22 
QuestionClass or object? Pin
Vaclav_26-Jun-15 5:32
Vaclav_26-Jun-15 5:32 
SuggestionRe: Class or object? Pin
David Crow26-Jun-15 5:54
David Crow26-Jun-15 5:54 
AnswerRe: Class or object? Pin
Maximilien26-Jun-15 7:24
Maximilien26-Jun-15 7:24 
AnswerRe: Class or object? PinPopular
CPallini26-Jun-15 8:05
mveCPallini26-Jun-15 8:05 
GeneralRe: Class or object? Pin
Albert Holguin26-Jun-15 10:26
professionalAlbert Holguin26-Jun-15 10:26 
AnswerRe: Class or object? Pin
Albert Holguin26-Jun-15 10:30
professionalAlbert Holguin26-Jun-15 10:30 

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.