Socket::BeginSendFile Method

 

Sends a file asynchronously to a connected Socket object.

Namespace:   System.Net.Sockets
Assembly:  System (in System.dll)

NameDescription
System_CAPS_pubmethodBeginSendFile(String^, AsyncCallback^, Object^)

Sends the file fileName to a connected Socket object using the UseDefaultWorkerThread flag.

System_CAPS_pubmethodBeginSendFile(String^, array<Byte>^, array<Byte>^, TransmitFileOptions, AsyncCallback^, Object^)

Sends a file and buffers of data asynchronously to a connected Socket object.

Return to top
Show: