Eliminate NiceSocket in favour of GDatagramBased
Submitted by Philip Withnall
Assigned to Philip Withnall
GDatagramBased we can now abstract socket interfaces (as long as they are datagram based, rather than stream-based).
NiceSocket and its ill-defined and non-standard semantics and non-
GObject-ness can go.
This should also make the socket implementations more generally reusable outside libnice.
Finally, if libnice internally starts using
GDatagramBased for handling all its underlying sockets, it allows the possibility of creating a mock socket object for unit testing, which could eventually allow testing of complex network situations without the need to physically reproduce them. Regression tests for ICE!