When using the "SocketAsyncEventArgs" class and ReadAsync, where do i put the read buffer and where do i put the send buffer? or can i only read or send at one time not both? I'm a bit confused.
I think you're looking for the Buffer property of SocketAsyncEventArgs. This tutorial explains how to use the SocketAsyncEventArgs class properly. 
The MSDN article for the class contains some useful remarks and provides example code too (they're almost always a good start).
You can only use a SocketAsyncEventArgs for a single operation at a time.
To both read and write async at the same time you'll need two SocketAsyncEventArgs objects.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With