src/stun.cpp
static int stun_send(int s, struct sockaddr_in *dst, struct stun_header *resp)
{
    return sendto(s, (const char *)resp, ntohs(resp->msglen) + sizeof(*resp), 0,
                  (struct sockaddr *)dst, sizeof(*dst));
}
/* wrapper to send an STUN message */
wrapper to send an STUN message
wrapper to send an STUN message
static int stun_send(int s, struct sockaddr_in *dst, struct stun_header *resp)
{
    return sendto(s, (const char *)resp, ntohs(resp->msglen) + sizeof(*resp), 0,
                  (struct sockaddr *)dst, sizeof(*dst));
}
static int stun_send ( int s , struct sockaddr_in * dst , struct stun_header * resp ) { return sendto ( s , ( const char * ) resp , ntohs ( resp -> msglen ) + sizeof ( * resp ) , 0 , ( struct sockaddr * ) dst , sizeof ( * dst ) ) ; }
wrapper to send an STUN message
wrapper to send an STUN message