次の方法で共有


LogConnectionDeletion (Compact 2013)

3/28/2014

This function is used by client dynamic-link libraries (DLLs) that monitor connection deletion.

Syntax

typedef VOID (*PNAT_LOG_CONNECTION_DELETION) (
  DWORD LocalAddress,
  DWORD RemoteAddress,
  USHORT LocalPort,
  USHORT RemotePort,
  UCHAR Protocol,
  BOOLEAN InboundConnection
);

Parameters

  • LocalAddress
    [in] The local network address of the computer or networked device for which the connection is associated. The value is provided in TCP/IP network byte order format.
  • RemoteAddress
    [in] The remote network address of the computer or networked device for which the connection is associated. The value is provided in TCP/IP network byte order format.
  • LocalPort
    [in] The port number on the local computer or networked device to which the connection is associated. The value is provided in TCP/IP network byte order format.
  • RemotePort
    [in] The port number on the remote computer or networked device to which the connection is associated. The value is provided in TCP/IP network byte order format.
  • Protocol
    [in] The network protocol (TCP, UDP) for this connection. Protocol is indicated by one of the NAT_PROTOCOL * flags listed in IPNat.h.
  • InboundConnection
    [in] Boolean; indicates whether this connection was initiated by an external computer or other device.

Return Value

None.

Remarks

This function is on the critical path for network address translation (NAT), and therefore must return quickly to prevent degradation of performance.

Requirements

Header

natedit.h

Library

coredll.dll

See Also

Reference

Network Address Translation Functions
LogDroppedPacket
LogConnectionCreation
LogInit