ClientContext.getSocket

Retrieves the #SoupSocket that @client is associated with.

If you are using this method to observe when multiple requests are made on the same persistent HTTP connection (eg, as the ntlm-test test program does), you will need to pay attention to socket destruction as well (either by using weak references, or by connecting to the #SoupSocket::disconnected signal), so that you do not get fooled when the allocator reuses the memory address of a previously-destroyed socket to represent a new socket.

More...
class ClientContext
getSocket
()

Return Value

Type: Socket

the #SoupSocket that @client is associated with.

Detailed Description

Deprecated: use soup_client_context_get_gsocket(), which returns a #GSocket.

Meta