Begins reading specified amount of data from socket asynchronously.
| C# | Visual Basic | Managed C++ |
public void BeginReadSpecifiedLength ( Stream stream, int lengthToRead, Object tag, SocketCallBack callback )
Public Sub BeginReadSpecifiedLength ( _ stream As Stream, _ lengthToRead As Integer, _ tag As Object, _ callback As SocketCallBack _ )
public: void BeginReadSpecifiedLength ( Stream^ stream, int lengthToRead, Object^ tag, SocketCallBack^ callback )
- stream (Stream)
- Stream where to store readed data.
- lengthToRead (Int32)
- Specifies number of bytes to read from socket.
- tag (Object)
- User data.
- callback (SocketCallBack)
- The method to be called when the asynchronous read operation is completed.
Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)