MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / AckServer

Function AckServer

netcon/mtclient/mtpilottracker.cpp:406–416  ·  view source on GitHub ↗

Send an ACK to the server

Source from the content-addressed store, hash-verified

404
405// Send an ACK to the server
406void AckServer(uint32_t sig) {
407 udp_packet_header ack_pack;
408
409 ack_pack.type = UNT_CONTROL;
410 ack_pack.sig = sig;
411 ack_pack.code = INTEL_INT(CMD_CLIENT_RECEIVED);
412 ack_pack.len = INTEL_SHORT(PACKED_HEADER_ONLY_SIZE);
413
414 SendPilotTrackerPacket(&ack_pack);
415 // sendto(pilotsock,(char *)&ack_pack,PACKED_HEADER_ONLY_SIZE,0,(SOCKADDR *)&ptrackaddr,sizeof(SOCKADDR_IN));
416}
417
418void IdlePTrack() {
419 // socket

Callers 1

HandlePilotDataFunction · 0.85

Calls 1

SendPilotTrackerPacketFunction · 0.85

Tested by

no test coverage detected