[ Version ( deprecated = true ) ]
public unowned Socket get_socket ()
Warning: get_socket is deprecated.
Retrieves the Socket that this is associated with.
use get_gsocket, which returns a Socket.
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 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.
this |
the Socket that this is associated with. |