1. 12 Dec, 2012 1 commit
    • Dan Winship's avatar
      Add gnetworking.h · b377e696
      Dan Winship authored
      Install a public "gnetworking.h" header that can be used to include
      the relevant OS-dependent networking headers. This does not really
      abstract away unix-vs-windows however; error codes, in particular,
      are incompatible.
      gnetworkingprivate.h now contains just a few internal URI-related
      Also add a g_networking_init() function to gnetworking.h, which can be
      used to explicitly initialize OS-level networking, rather than having
      that happen as a side-effect of registering GInetAddress.
  2. 16 Oct, 2012 1 commit
  3. 19 Aug, 2012 1 commit
  4. 04 Jun, 2012 1 commit
  5. 22 Apr, 2010 1 commit
    • Dan Winship's avatar
      GUnixSocketAddress: handle abstract sockets with non-0-padded names · 19d8cc33
      Dan Winship authored
      There are apparently two incompatible ways of naming abstract sockets:
      pad the sockaddr with 0s and use the entire thing as the name, or else
      don't, and just pass a shorter length value to the relevant functions.
      We previously only supported the former method. Add support for the
      Also correctly handle "anonymous" unix sockaddrs (eg, the client side
      of a connection, or a socketpair() socket), and add unix domain socket
      support to the socket-client and socket-server test programs to make
      sure this all works.
  6. 24 Nov, 2009 1 commit