Skip to main content

AvbAccept

Valid for: CANoe DE • CANoe4SW DE

Function Syntax

dword AvbAccept(dword listenerHandle);

Description

The function accepts an incoming connection request on the specified Listener resulting in a new Listener. If the operation fails, the function will return 0.

Parameters

  • listenerHandle: The Listener handle.

Return Values

  • 0: The function failed. Call AvbGetLastError to get a more specific error code.
  • >0: New Listener handle.

Example

See Also: AvbAccept, AvbCloseListener, AvbCloseTalker, AvbConnect, AvbGetLastError, AvbGetLastErrorText, AvbGetMediaType, AvbGetProtocol, AvbGetStreamId, AvbGetStreamSourceAddress, AvbGetStreamUniqueId, AvbILControlInit, AvbILControlResume, AvbILControlStart, AvbILControlStop, AvbILControlWait, AvbListen, AvbOpenListener, AvbOpenTalker, AvbReceive, AvbSend, AvbSetMediaType, AvbSetProperty, AvbSetProtocol, AvbSetVerbosity, OnAvbConnect, OnAvbListen, OnAvbReceive, OnAvbSend, OnAvbSendPrepare, OnPtpSendPrepare, PtpSetProperty, PtpSimulationTimespanFromPtpTimespan, PtpTimeFromSimulationTime, PtpTimeNow