Lines Matching refs:socket
17 curl_multi_assign - set data to associate with an internal socket
31 socket and a private pointer of the application. This is designed for
34 When set, the *sockptr* pointer is passed to all future socket callbacks
35 for the specific *sockfd* socket.
40 libcurl only keeps one single pointer associated with a socket, so calling
41 this function several times for the same socket makes the last set pointer get
44 The idea here being that this association (socket to private pointer) is
62 /* make our struct pointer associated with socket fd */
72 semi-dynamic data for each socket that we must wait for action on when using
75 When our socket-callback gets called by libcurl and we get to know about yet
76 another socket to wait for, we can use curl_multi_assign(3) to point out the
77 particular data so that when we get updates about this same socket again, we
78 do not have to find the struct associated with this socket by ourselves.