HI

Because of the async nature of this it would be better to use different
OVERLAPPED structs for send a recv.

Regards
Max

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 13, 2004 8:31 PM
Subject: [msvc] WSASend/Recv


> I have an application that uses IOCP.  Thanks in great part to the folks
on this
> list, it has been working very well.  I connect to multiple devices and
receive
> the data from them with no problem. At this point, the need has been only
to
> monitor the data sent from these devices ( once per second).  A
modification in
> the specs now requires that the application send data to these devices.
This
> sending of data is totally asynchronous with regard to the receiving of
> information.  I have a structure derived from OVERLAPPED that I use to
manage
> the receive buffer and that is used in conjunction with the IOCP to tell
me
> from which device the information is coming.  When I am preparing to use
> WSASend, do I need to allocate a separate OVERLAPPED struct or can I use
the
> existing one by adding a send buffer to my already present receive buffer?
My
> first attempts at this always result in garbled messages being received by
the
> device.  Any suggestions are greatly appreciated.
>
> Best regards,
> David
>
>
>
> _______________________________________________
> msvc mailing list
> [EMAIL PROTECTED]
> See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for
subscription changes, and list archive.
>
>


_______________________________________________
msvc mailing list
[EMAIL PROTECTED]
See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription 
changes, and list archive.

Reply via email to