:relfileprefix: ../../../
[#846F876A7DE9FDBA67DD70E3CC9784A27D96CB7D]

= Function ipv4_address::to_bytes

pass:v,q[Return the address as bytes, in network byte order.]


== Synopsis

Declared in header `</boost/url/ipv4_address.hpp#L153[boost/url/ipv4_address.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
xref:boost/urls/ipv4_address/bytes_type.adoc[bytes_type]
to_bytes() const noexcept;
----

