Revision f6833fc1 doc/protocols.texi

View differences:

doc/protocols.texi
319 319

  
320 320
@item ttl=@var{ttl}
321 321
set the time to live value (for multicast only)
322

  
323
@item connect=@var{1|0}
324
Initialize the UDP socket with @code{connect()}. In this case, the
325
destination address can't be changed with udp_set_remote_url later.
326
This allows finding out the source address for the packets with getsockname,
327
and makes writes return with AVERROR(ECONNREFUSED) if "destination
328
unreachable" is received.
322 329
@end table
323 330

  
324 331
Some usage examples of the udp protocol with @file{ffmpeg} follow.

Also available in: Unified diff