Click here to Skip to main content
14,427,436 members

C / C++ / MFC

 
GeneralRe: recv no blocking Pin
CPallini29-Jun-15 23:35
mveCPallini29-Jun-15 23:35 
GeneralRe: recv no blocking Pin
mosine29-Jun-15 23:52
Membermosine29-Jun-15 23:52 
GeneralRe: recv no blocking Pin
CPallini30-Jun-15 0:01
mveCPallini30-Jun-15 0:01 
GeneralRe: recv no blocking Pin
mosine30-Jun-15 0:06
Membermosine30-Jun-15 0:06 
GeneralRe: recv no blocking Pin
CPallini30-Jun-15 0:24
mveCPallini30-Jun-15 0:24 
GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 9:12
professionalDaniel Pfeffer30-Jun-15 9:12 
GeneralRe: recv no blocking Pin
Albert Holguin30-Jun-15 14:26
professionalAlbert Holguin30-Jun-15 14:26 
GeneralRe: recv no blocking Pin
Daniel Pfeffer30-Jun-15 18:53
professionalDaniel Pfeffer30-Jun-15 18: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 5:02
professionalAlbert Holguin1-Jul-15 5:02 
GeneralRe: recv no blocking Pin
Albert Holguin30-Jun-15 14:27
professionalAlbert Holguin30-Jun-15 14:27 
QuestionCan a modeless Dialog Box be a main window "m_pMainWnd" Pin
ForNow29-Jun-15 6:07
MemberForNow29-Jun-15 6:07 
AnswerRe: Can a modeless Dialog Box be a main window "m_pMainWnd" Pin
Richard MacCutchan29-Jun-15 6:12
communityengineerRichard MacCutchan29-Jun-15 6:12 
GeneralRe: Can a modeless Dialog Box be a main window "m_pMainWnd" Pin
ForNow29-Jun-15 6:22
MemberForNow29-Jun-15 6:22 
QuestionCan anybody help me with converting this example for x64? Pin
Member 802436529-Jun-15 3:42
MemberMember 802436529-Jun-15 3:42 
SuggestionRe: Can anybody help me with converting this example for x64? Pin
Richard MacCutchan29-Jun-15 4:36
communityengineerRichard MacCutchan29-Jun-15 4:36 
QuestionQ: CTreeCtrl: How to over-ride default selection of item Pin
ShivaPrasadGadapa29-Jun-15 0:43
MemberShivaPrasadGadapa29-Jun-15 0:43 
QuestionDraw in front of bitmap Pin
lor7527-Jun-15 9:11
Memberlor7527-Jun-15 9:11 
AnswerRe: Draw in front of bitmap Pin
Richard MacCutchan27-Jun-15 22:11
communityengineerRichard MacCutchan27-Jun-15 22:11 
GeneralRe: Draw in front of bitmap Pin
lor7527-Jun-15 23:22
Memberlor7527-Jun-15 23:22 
QuestionClass or object? Pin
Vaclav_26-Jun-15 6:32
MemberVaclav_26-Jun-15 6:32 
SuggestionRe: Class or object? Pin
David Crow26-Jun-15 6:54
MemberDavid Crow26-Jun-15 6:54 
AnswerRe: Class or object? Pin
Maximilien26-Jun-15 8:24
MemberMaximilien26-Jun-15 8:24 
AnswerRe: Class or object? Pin
CPallini26-Jun-15 9:05
mveCPallini26-Jun-15 9:05 
GeneralRe: Class or object? Pin
Albert Holguin26-Jun-15 11:26
professionalAlbert Holguin26-Jun-15 11:26 
AnswerRe: Class or object? Pin
Albert Holguin26-Jun-15 11:30
professionalAlbert Holguin26-Jun-15 11: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.