MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / ProcessSocketCallback

Method ProcessSocketCallback

Sources/Shared/IO/WebRequest.cpp:3059–3073  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3057 }
3058
3059 void WebSessionAsyncCURL::ProcessSocketCallback(CURL* curl, curl_socket_t s, int what)
3060 {
3061 switch (what) {
3062 case CURL_POLL_IN:
3063 case CURL_POLL_OUT:
3064 case CURL_POLL_INOUT: {
3065 _activeSockets[curl] = s;
3066 break;
3067 }
3068
3069 case CURL_POLL_REMOVE:
3070 RemoveActiveSocket(curl);
3071 break;
3072 }
3073 }
3074
3075 void WebSessionAsyncCURL::CheckForCompletedTransfers()
3076 {

Callers 1

SocketCallbackMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected