次の方法で共有


ICcTransport::MTU (Compact 2013)

3/26/2014

Deprecated.

This method gets the maximum packet size for transmission.

Syntax

HRESULT MTU(
  DWORD* pdwMTU
);

Parameters

  • pdwMTU
    [out, retval] Maximum packet size.

Return Value

The following table shows return values for this method.

Value

Description

S_OK

Indicates success.

E_INVALIDARG

Indicates invalid input arguments.

Remarks

This is the maximum packet size associated with the transport.

The Maximum Transmission Unit (MTU) for KITL is 1520 bytes.

Clients can use this information to packetize their data streams.

Requirements

Header

cctransport.idl

See Also

Reference

ICcTransport
Core Connectivity Interfaces