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

Method SendFileAndControlData

src/ClientTCPSocket.cpp:2020–2029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018
2019
2020SocketSentBytes CClientTCPSocket::SendFileAndControlData(uint32 maxNumberOfBytesToSend, uint32 overchargeMaxBytesToSend)
2021{
2022 SocketSentBytes returnStatus = CEMSocket::SendFileAndControlData(maxNumberOfBytesToSend, overchargeMaxBytesToSend);
2023
2024 if(returnStatus.success && (returnStatus.sentBytesControlPackets > 0 || returnStatus.sentBytesStandardPackets > 0)) {
2025 ResetTimeOutTimer();
2026 }
2027
2028 return returnStatus;
2029}
2030
2031
2032void CClientTCPSocket::SendPacket(CPacket* packet, bool delpacket, bool controlpacket, uint32 actualPayloadSize)

Callers 1

EntryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected