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

ATL / WTL / STL

 
AnswerRe: WCHAR copy one char at a time Pin
Richard MacCutchan2-Feb-14 21:56
mveRichard MacCutchan2-Feb-14 21:56 
GeneralRe: WCHAR copy one char at a time Pin
bkelly133-Feb-14 15:01
Memberbkelly133-Feb-14 15:01 
GeneralRe: WCHAR copy one char at a time Pin
Richard MacCutchan3-Feb-14 21:39
mveRichard MacCutchan3-Feb-14 21:39 
GeneralRe: WCHAR copy one char at a time Pin
bkelly134-Feb-14 16:14
Memberbkelly134-Feb-14 16:14 
AnswerRe: WCHAR copy one char at a time Pin
Jeremy Falcon12-May-14 6:08
professionalJeremy Falcon12-May-14 6:08 
QuestionPlease describe overlapped operations Pin
bkelly1319-Jan-14 9:16
Memberbkelly1319-Jan-14 9:16 
AnswerRe: Please describe overlapped operations Pin
Richard MacCutchan20-Jan-14 0:18
mveRichard MacCutchan20-Jan-14 0:18 
GeneralRe: Please describe overlapped operations Pin
bkelly1320-Jan-14 3:46
Memberbkelly1320-Jan-14 3:46 
Hello Richard,
In at least one MSDN help page about socket functions, they write that overlapped is not the same as sync and async. They work together but are not the same. As I interpret the pages:

Overlapped means having multiple buffers submitted for I/O at one time. The app can, for example post four sends with four separate addresses (addresses of buffers to send). After the four posts it can be the case that none of them have been signaled as complete. The operating system will then signal each of the four I/Os as being complete some time later. The application must not disturb those buffers until each one has been signaled as complete.

As each one is signaled complete, the application can re-use that buffer, but not until then.

In the WSASend function argument six is structure WSAOVERLAPPED. We can use WSASend and other TCP/IO functions with async but without overlapped. Or with overlapped.

Is my interpretation correct, as far as it goes?
Thanks for your time
If you work with telemetry, please check this bulletin board: http://www.bkelly.ws/irig_106/


modified 20-Jan-14 12:17pm.

GeneralRe: Please describe overlapped operations Pin
Richard MacCutchan20-Jan-14 6:38
mveRichard MacCutchan20-Jan-14 6:38 
GeneralRe: Please describe overlapped operations Pin
bkelly1320-Jan-14 9:12
Memberbkelly1320-Jan-14 9:12 
GeneralRe: Please describe overlapped operations Pin
Richard MacCutchan20-Jan-14 22:12
mveRichard MacCutchan20-Jan-14 22:12 
GeneralRe: Please describe overlapped operations Pin
xenotron4-Apr-14 10:25
Memberxenotron4-Apr-14 10:25 
GeneralRe: Please describe overlapped operations Pin
xenotron4-Apr-14 10:26
Memberxenotron4-Apr-14 10:26 
SuggestionRe: Please describe overlapped operations Pin
Richard MacCutchan4-Apr-14 23:15
mveRichard MacCutchan4-Apr-14 23:15 
QuestionWinsock Peer to Peer using UDP and TCP Pin
SD120810-Jan-14 4:27
MemberSD120810-Jan-14 4:27 
AnswerRe: Winsock Peer to Peer using UDP and TCP Pin
Albert Holguin10-Jan-14 4:59
professionalAlbert Holguin10-Jan-14 4:59 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
SD120810-Jan-14 5:08
MemberSD120810-Jan-14 5:08 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
Albert Holguin10-Jan-14 7:34
professionalAlbert Holguin10-Jan-14 7:34 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
SoMad10-Jan-14 8:56
professionalSoMad10-Jan-14 8:56 
GeneralRe: Winsock Peer to Peer using UDP and TCP Pin
bkelly1319-Jan-14 9:28
Memberbkelly1319-Jan-14 9:28 
Generallink error 1104 Pin
Prasun Hazra 5-Jan-14 8:15
MemberPrasun Hazra 5-Jan-14 8:15 
GeneralRe: link error 1104 Pin
Richard MacCutchan5-Jan-14 22:16
mveRichard MacCutchan5-Jan-14 22:16 
GeneralRe: link error 1104 Pin
Prasun Hazra 7-Jan-14 23:10
MemberPrasun Hazra 7-Jan-14 23:10 
GeneralRe: link error 1104 Pin
Richard MacCutchan7-Jan-14 23:25
mveRichard MacCutchan7-Jan-14 23:25 
AnswerRe: link error 1104 Pin
Albert Holguin8-Jan-14 17:11
professionalAlbert Holguin8-Jan-14 17:11 

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.