Revision 4ec153bb doc/protocols.texi

View differences:

doc/protocols.texi
433 433

  
434 434
@item connect=@var{1|0}
435 435
Initialize the UDP socket with @code{connect()}. In this case, the
436
destination address can't be changed with udp_set_remote_url later.
436
destination address can't be changed with ff_udp_set_remote_url later.
437 437
If the destination address isn't known at the start, this option can
438
be specified in udp_set_remote_url, too.
438
be specified in ff_udp_set_remote_url, too.
439 439
This allows finding out the source address for the packets with getsockname,
440 440
and makes writes return with AVERROR(ECONNREFUSED) if "destination
441 441
unreachable" is received.

Also available in: Unified diff