LumiSoft Mail Server User API
BeginWrite Method (stream, tag, callback)
Namespaces > LumiSoft.Net > SocketEx > BeginWrite(Stream, Object, SocketCallBack)
Begins writing specified data to socket.
Syntax

C# | Visual Basic | Managed C++

    public void BeginWrite (
    	Stream stream,
    	Object tag,
    	SocketCallBack callback
    )

    Public Sub BeginWrite ( _
    	stream As Stream, _
    	tag As Object, _
    	callback As SocketCallBack _
    )

    public:
    void BeginWrite (
    	Stream^ stream,
    	Object^ tag,
    	SocketCallBack^ callback
    )

Parameters

stream (Stream)
  Stream which data to write to socket. Reading starts from stream current position and will be readed to EOS.
tag (Object)
  User data.
callback (SocketCallBack)
  The method to be called when the asynchronous write operation is completed.

Assembly: LumiSoft.Net Version: 2.0.2636.18419 (Module: LumiSoft.Net)