• Philip Withnall's avatar
    gsocketconnectable: Add a to_string() virtual method · 128c4132
    Philip Withnall authored
    Add string serialisation functions for GNetworkAddress, GSocketAddress,
    GUnixSocketAddress, GInetSocketAddress, GNetworkService and
    GSocketConnectable. These are intended for use in debug output, not for
    serialisation in network or disc protocols.
    They are implemented as a new virtual method on GSocketConnectable:
    GInetSocketAddress and GUnixSocketAddress now implement
    GSocketConnectable directly to implement to_string(). Previously they
    implemented it via their abstract parent class, GSocketAddress.
socket-address.c 4.43 KB