111,115
社区成员




public const int DEFAULT_IN_BLOCK = 366000;
public const int DEFAULT_OUT_BLOCK = 7320000;
[System.Runtime.InteropServices.DllImport("your dll name")]
public static extern Int64 sendfile(UDTSOCKET u, System.IO.Stream ifs, Int64 offset, Int64 size, int block);
[System.Runtime.InteropServices.DllImport("your dll name")]
public static extern Int64 sendfile(UDTSOCKET u, System.IO.Stream ifs, Int64 offset, Int64 size, int block);
[System.Runtime.InteropServices.StructLayout( System.Runtime.InteropServices.LayoutKind.Sequential)]
public struct UDTSOCKET
{
// Add define here.
}