MCPcopy Create free account
hub / github.com/amule-project/amule / SetConnectOptions

Method SetConnectOptions

src/BaseClient.cpp:2965–2971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2963}
2964
2965void CUpDownClient::SetConnectOptions(uint8_t options, bool encryption, bool callback)
2966{
2967 SetCryptLayerSupport((options & 0x01) != 0 && encryption);
2968 SetCryptLayerRequest((options & 0x02) != 0 && encryption);
2969 SetCryptLayerRequires((options & 0x04) != 0 && encryption);
2970 SetDirectUDPCallbackSupport((options & 0x08) != 0 && callback);
2971}
2972
2973
2974#ifdef DEBUG_ZOMBIE_CLIENTS

Callers 7

RequestTCPMethod · 0.80
RequestBuddyMethod · 0.80
ProcessPacketMethod · 0.80
KademliaSearchFileMethod · 0.80
AddSourcesMethod · 0.80
AddClientSourcesMethod · 0.80
ProcessPacketMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected