Click here to Skip to main content
14,690,227 members
Home » Discussions » ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: WCHAR copy one char at a time Pin
Richard MacCutchan3-Feb-14 22:39
mveRichard MacCutchan3-Feb-14 22:39 
GeneralRe: WCHAR copy one char at a time Pin
bkelly134-Feb-14 17:14
Memberbkelly134-Feb-14 17:14 
AnswerRe: WCHAR copy one char at a time Pin
Jeremy Falcon12-May-14 7:08
professionalJeremy Falcon12-May-14 7:08 
QuestionPlease describe overlapped operations Pin
bkelly1319-Jan-14 10:16
Memberbkelly1319-Jan-14 10:16 
AnswerRe: Please describe overlapped operations Pin
Richard MacCutchan20-Jan-14 1:18
mveRichard MacCutchan20-Jan-14 1:18 
GeneralRe: Please describe overlapped operations Pin
bkelly1320-Jan-14 4:46
Memberbkelly1320-Jan-14 4:46 
GeneralRe: Please describe overlapped operations Pin
Richard MacCutchan20-Jan-14 7:38
mveRichard MacCutchan20-Jan-14 7:38 
GeneralRe: Please describe overlapped operations Pin
bkelly1320-Jan-14 10:12
Memberbkelly1320-Jan-14 10:12 
Hello Richard,

In that article, the second paragraph in the section titles Overlapped I/O, is a sentence that beings with:
Quote:
If you use the SO_RCVBUF and SO_SNDBUF option to set zero TCP stack receive and send buffer, ....


I think I understand the remainder of the paragraph as saying: We can call the send or receive function telling the OS and the TCP part of the OS, to use the buffer we have supplied as the buffer to output/input the data. That saves the OS/TCP code from performing a copy of the data. This reduces the total number of CPU cycles dedicated to performing my I/O operation. It also means, as I noted earlier, our app cannot touch that buffer until the send/receive is complete.

That said, just what does that quoted part of the sentence mean? "... to set zero TCP stack ..." That appears to be just a simple case of not very good choice of words. On the other hand, I may be missing something important.
Thanks for your time
If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/

GeneralRe: Please describe overlapped operations Pin
Richard MacCutchan20-Jan-14 23:12
mveRichard MacCutchan20-Jan-14 23:12 
GeneralRe: Please describe overlapped operations Pin
xenotron4-Apr-14 11:25
Memberxenotron4-Apr-14 11:25 
GeneralRe: Please describe overlapped operations Pin
xenotron4-Apr-14 11:26
Memberxenotron4-Apr-14 11:26 
SuggestionRe: Please describe overlapped operations Pin
Richard MacCutchan5-Apr-14 0:15
mveRichard MacCutchan5-Apr-14 0:15 
QuestionWinsock Peer to Peer using UDP and TCP Pin
SD120810-Jan-14 5:27
MemberSD120810-Jan-14 5:27 
AnswerRe: Winsock Peer to Peer using UDP and TCP Pin
Albert Holguin10-Jan-14 5:59
professionalAlbert Holguin10-Jan-14 5:59 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
SD120810-Jan-14 6:08
MemberSD120810-Jan-14 6:08 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
Albert Holguin10-Jan-14 8:34
professionalAlbert Holguin10-Jan-14 8:34 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
SoMad10-Jan-14 9:56
professionalSoMad10-Jan-14 9:56 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
bkelly1319-Jan-14 10:28
Memberbkelly1319-Jan-14 10:28 
Generallink error 1104 Pin
Prasun Hazra 5-Jan-14 9:15
MemberPrasun Hazra 5-Jan-14 9:15 
GeneralRe: link error 1104 Pin
Richard MacCutchan5-Jan-14 23:16
mveRichard MacCutchan5-Jan-14 23:16 
GeneralRe: link error 1104 Pin
Prasun Hazra 8-Jan-14 0:10
MemberPrasun Hazra 8-Jan-14 0:10 
GeneralRe: link error 1104 Pin
Richard MacCutchan8-Jan-14 0:25
mveRichard MacCutchan8-Jan-14 0:25 
AnswerRe: link error 1104 Pin
Albert Holguin8-Jan-14 18:11
professionalAlbert Holguin8-Jan-14 18:11 
QuestionHow to create and register two dlls with same name?(VS 2010) Pin
J_Me10-Dec-13 22:43
professionalJ_Me10-Dec-13 22:43 
AnswerRe: How to create and register two dlls with same name?(VS 2010) Pin
Richard MacCutchan10-Dec-13 23:21
mveRichard MacCutchan10-Dec-13 23:21 

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.