diff options
author | System Administrator <root@Mamadous-iMac.local> | 2015-12-01 23:14:55 +0100 |
---|---|---|
committer | System Administrator <root@Mamadous-iMac.local> | 2015-12-01 23:14:55 +0100 |
commit | 0e56b468eeaf711e4594aba83a15f2944cfb58b9 (patch) | |
tree | 2829f03113b87226dc85c94a23855753a5905af2 /tinyNET | |
parent | 7ff6a247a8ec64673fa7920225b47a8b9224f078 (diff) | |
download | doubango-0e56b468eeaf711e4594aba83a15f2944cfb58b9.zip doubango-0e56b468eeaf711e4594aba83a15f2944cfb58b9.tar.gz |
Update binaries and code source for OSX
Diffstat (limited to 'tinyNET')
156 files changed, 10 insertions, 9 deletions
diff --git a/tinyNET/Doxyfile b/tinyNET/Doxyfile index 786876d..786876d 100644..100755 --- a/tinyNET/Doxyfile +++ b/tinyNET/Doxyfile diff --git a/tinyNET/Makefile.am b/tinyNET/Makefile.am index 67a6c74..67a6c74 100644..100755 --- a/tinyNET/Makefile.am +++ b/tinyNET/Makefile.am diff --git a/tinyNET/autogen.sh b/tinyNET/autogen.sh index 9c875b0..9c875b0 100644..100755 --- a/tinyNET/autogen.sh +++ b/tinyNET/autogen.sh diff --git a/tinyNET/configure.ac b/tinyNET/configure.ac index 1fa39b3..1fa39b3 100644..100755 --- a/tinyNET/configure.ac +++ b/tinyNET/configure.ac diff --git a/tinyNET/droid-makefile b/tinyNET/droid-makefile index a21924a..a21924a 100644..100755 --- a/tinyNET/droid-makefile +++ b/tinyNET/droid-makefile diff --git a/tinyNET/footer.html b/tinyNET/footer.html index fbe1338..fbe1338 100644..100755 --- a/tinyNET/footer.html +++ b/tinyNET/footer.html diff --git a/tinyNET/header.html b/tinyNET/header.html index b7bb298..b7bb298 100644..100755 --- a/tinyNET/header.html +++ b/tinyNET/header.html diff --git a/tinyNET/installdox.sh b/tinyNET/installdox.sh index 2517e03..2517e03 100644..100755 --- a/tinyNET/installdox.sh +++ b/tinyNET/installdox.sh diff --git a/tinyNET/ragel.sh b/tinyNET/ragel.sh index d8b9e31..d8b9e31 100644..100755 --- a/tinyNET/ragel.sh +++ b/tinyNET/ragel.sh diff --git a/tinyNET/ragel/tnet_dns_regexp.rl b/tinyNET/ragel/tnet_dns_regexp.rl index 0c45be4..0c45be4 100644..100755 --- a/tinyNET/ragel/tnet_dns_regexp.rl +++ b/tinyNET/ragel/tnet_dns_regexp.rl diff --git a/tinyNET/ragel/tnet_dns_resolvconf.rl b/tinyNET/ragel/tnet_dns_resolvconf.rl index b81207c..b81207c 100644..100755 --- a/tinyNET/ragel/tnet_dns_resolvconf.rl +++ b/tinyNET/ragel/tnet_dns_resolvconf.rl diff --git a/tinyNET/src/dhcp/tnet_dhcp.c b/tinyNET/src/dhcp/tnet_dhcp.c index efd57c5..efd57c5 100644..100755 --- a/tinyNET/src/dhcp/tnet_dhcp.c +++ b/tinyNET/src/dhcp/tnet_dhcp.c diff --git a/tinyNET/src/dhcp/tnet_dhcp.h b/tinyNET/src/dhcp/tnet_dhcp.h index 9572641..9572641 100644..100755 --- a/tinyNET/src/dhcp/tnet_dhcp.h +++ b/tinyNET/src/dhcp/tnet_dhcp.h diff --git a/tinyNET/src/dhcp/tnet_dhcp_message.c b/tinyNET/src/dhcp/tnet_dhcp_message.c index 005327d..005327d 100644..100755 --- a/tinyNET/src/dhcp/tnet_dhcp_message.c +++ b/tinyNET/src/dhcp/tnet_dhcp_message.c diff --git a/tinyNET/src/dhcp/tnet_dhcp_message.h b/tinyNET/src/dhcp/tnet_dhcp_message.h index c7005fa..c7005fa 100644..100755 --- a/tinyNET/src/dhcp/tnet_dhcp_message.h +++ b/tinyNET/src/dhcp/tnet_dhcp_message.h diff --git a/tinyNET/src/dhcp/tnet_dhcp_option.c b/tinyNET/src/dhcp/tnet_dhcp_option.c index 3679a62..3679a62 100644..100755 --- a/tinyNET/src/dhcp/tnet_dhcp_option.c +++ b/tinyNET/src/dhcp/tnet_dhcp_option.c diff --git a/tinyNET/src/dhcp/tnet_dhcp_option.h b/tinyNET/src/dhcp/tnet_dhcp_option.h index 0d16ac1..0d16ac1 100644..100755 --- a/tinyNET/src/dhcp/tnet_dhcp_option.h +++ b/tinyNET/src/dhcp/tnet_dhcp_option.h diff --git a/tinyNET/src/dhcp/tnet_dhcp_option_sip.c b/tinyNET/src/dhcp/tnet_dhcp_option_sip.c index dd28953..0c763fb 100644..100755 --- a/tinyNET/src/dhcp/tnet_dhcp_option_sip.c +++ b/tinyNET/src/dhcp/tnet_dhcp_option_sip.c @@ -93,7 +93,7 @@ static tsk_object_t* tnet_dhcp_option_sip_ctor(tsk_object_t * self, va_list * ap while(payloadPtr < payloadEnd){ ++payloadPtr; - address = tnet_htonl_2(payloadPtr); + address = (uint32_t)tnet_htonl_2(payloadPtr); tsk_sprintf(&ip4, "%u.%u.%u.%u", (address>>24)&0xFF, (address>>16)&0xFF, (address>>8)&0xFF, (address>>0)&0xFF); diff --git a/tinyNET/src/dhcp/tnet_dhcp_option_sip.h b/tinyNET/src/dhcp/tnet_dhcp_option_sip.h index 2e35bf5..2e35bf5 100644..100755 --- a/tinyNET/src/dhcp/tnet_dhcp_option_sip.h +++ b/tinyNET/src/dhcp/tnet_dhcp_option_sip.h diff --git a/tinyNET/src/dhcp6/tnet_dhcp6.c b/tinyNET/src/dhcp6/tnet_dhcp6.c index 8e2fdb7..8e2fdb7 100644..100755 --- a/tinyNET/src/dhcp6/tnet_dhcp6.c +++ b/tinyNET/src/dhcp6/tnet_dhcp6.c diff --git a/tinyNET/src/dhcp6/tnet_dhcp6.h b/tinyNET/src/dhcp6/tnet_dhcp6.h index 156f5a9..156f5a9 100644..100755 --- a/tinyNET/src/dhcp6/tnet_dhcp6.h +++ b/tinyNET/src/dhcp6/tnet_dhcp6.h diff --git a/tinyNET/src/dhcp6/tnet_dhcp6_duid.c b/tinyNET/src/dhcp6/tnet_dhcp6_duid.c index 38f2a52..38f2a52 100644..100755 --- a/tinyNET/src/dhcp6/tnet_dhcp6_duid.c +++ b/tinyNET/src/dhcp6/tnet_dhcp6_duid.c diff --git a/tinyNET/src/dhcp6/tnet_dhcp6_duid.h b/tinyNET/src/dhcp6/tnet_dhcp6_duid.h index 34383fa..34383fa 100644..100755 --- a/tinyNET/src/dhcp6/tnet_dhcp6_duid.h +++ b/tinyNET/src/dhcp6/tnet_dhcp6_duid.h diff --git a/tinyNET/src/dhcp6/tnet_dhcp6_message.c b/tinyNET/src/dhcp6/tnet_dhcp6_message.c index 4691714..4691714 100644..100755 --- a/tinyNET/src/dhcp6/tnet_dhcp6_message.c +++ b/tinyNET/src/dhcp6/tnet_dhcp6_message.c diff --git a/tinyNET/src/dhcp6/tnet_dhcp6_message.h b/tinyNET/src/dhcp6/tnet_dhcp6_message.h index dc5d9d2..dc5d9d2 100644..100755 --- a/tinyNET/src/dhcp6/tnet_dhcp6_message.h +++ b/tinyNET/src/dhcp6/tnet_dhcp6_message.h diff --git a/tinyNET/src/dhcp6/tnet_dhcp6_option.c b/tinyNET/src/dhcp6/tnet_dhcp6_option.c index 91ec16a..91ec16a 100644..100755 --- a/tinyNET/src/dhcp6/tnet_dhcp6_option.c +++ b/tinyNET/src/dhcp6/tnet_dhcp6_option.c diff --git a/tinyNET/src/dhcp6/tnet_dhcp6_option.h b/tinyNET/src/dhcp6/tnet_dhcp6_option.h index 71241b9..71241b9 100644..100755 --- a/tinyNET/src/dhcp6/tnet_dhcp6_option.h +++ b/tinyNET/src/dhcp6/tnet_dhcp6_option.h diff --git a/tinyNET/src/dns/tnet_dns.c b/tinyNET/src/dns/tnet_dns.c index 87cd9b5..87cd9b5 100644..100755 --- a/tinyNET/src/dns/tnet_dns.c +++ b/tinyNET/src/dns/tnet_dns.c diff --git a/tinyNET/src/dns/tnet_dns.h b/tinyNET/src/dns/tnet_dns.h index d4c2e6d..d4c2e6d 100644..100755 --- a/tinyNET/src/dns/tnet_dns.h +++ b/tinyNET/src/dns/tnet_dns.h diff --git a/tinyNET/src/dns/tnet_dns_a.c b/tinyNET/src/dns/tnet_dns_a.c index 27a3603..27a3603 100644..100755 --- a/tinyNET/src/dns/tnet_dns_a.c +++ b/tinyNET/src/dns/tnet_dns_a.c diff --git a/tinyNET/src/dns/tnet_dns_a.h b/tinyNET/src/dns/tnet_dns_a.h index e5db962..e5db962 100644..100755 --- a/tinyNET/src/dns/tnet_dns_a.h +++ b/tinyNET/src/dns/tnet_dns_a.h diff --git a/tinyNET/src/dns/tnet_dns_aaaa.c b/tinyNET/src/dns/tnet_dns_aaaa.c index 4855827..4855827 100644..100755 --- a/tinyNET/src/dns/tnet_dns_aaaa.c +++ b/tinyNET/src/dns/tnet_dns_aaaa.c diff --git a/tinyNET/src/dns/tnet_dns_aaaa.h b/tinyNET/src/dns/tnet_dns_aaaa.h index 759adf1..759adf1 100644..100755 --- a/tinyNET/src/dns/tnet_dns_aaaa.h +++ b/tinyNET/src/dns/tnet_dns_aaaa.h diff --git a/tinyNET/src/dns/tnet_dns_cname.c b/tinyNET/src/dns/tnet_dns_cname.c index 8bec3e8..8bec3e8 100644..100755 --- a/tinyNET/src/dns/tnet_dns_cname.c +++ b/tinyNET/src/dns/tnet_dns_cname.c diff --git a/tinyNET/src/dns/tnet_dns_cname.h b/tinyNET/src/dns/tnet_dns_cname.h index f97087d..f97087d 100644..100755 --- a/tinyNET/src/dns/tnet_dns_cname.h +++ b/tinyNET/src/dns/tnet_dns_cname.h diff --git a/tinyNET/src/dns/tnet_dns_message.c b/tinyNET/src/dns/tnet_dns_message.c index 594f499..594f499 100644..100755 --- a/tinyNET/src/dns/tnet_dns_message.c +++ b/tinyNET/src/dns/tnet_dns_message.c diff --git a/tinyNET/src/dns/tnet_dns_message.h b/tinyNET/src/dns/tnet_dns_message.h index 8506ff8..8506ff8 100644..100755 --- a/tinyNET/src/dns/tnet_dns_message.h +++ b/tinyNET/src/dns/tnet_dns_message.h diff --git a/tinyNET/src/dns/tnet_dns_mx.c b/tinyNET/src/dns/tnet_dns_mx.c index edc59b1..edc59b1 100644..100755 --- a/tinyNET/src/dns/tnet_dns_mx.c +++ b/tinyNET/src/dns/tnet_dns_mx.c diff --git a/tinyNET/src/dns/tnet_dns_mx.h b/tinyNET/src/dns/tnet_dns_mx.h index 98a00f1..98a00f1 100644..100755 --- a/tinyNET/src/dns/tnet_dns_mx.h +++ b/tinyNET/src/dns/tnet_dns_mx.h diff --git a/tinyNET/src/dns/tnet_dns_naptr.c b/tinyNET/src/dns/tnet_dns_naptr.c index 79d7f70..79d7f70 100644..100755 --- a/tinyNET/src/dns/tnet_dns_naptr.c +++ b/tinyNET/src/dns/tnet_dns_naptr.c diff --git a/tinyNET/src/dns/tnet_dns_naptr.h b/tinyNET/src/dns/tnet_dns_naptr.h index b960809..b960809 100644..100755 --- a/tinyNET/src/dns/tnet_dns_naptr.h +++ b/tinyNET/src/dns/tnet_dns_naptr.h diff --git a/tinyNET/src/dns/tnet_dns_ns.c b/tinyNET/src/dns/tnet_dns_ns.c index a23426c..a23426c 100644..100755 --- a/tinyNET/src/dns/tnet_dns_ns.c +++ b/tinyNET/src/dns/tnet_dns_ns.c diff --git a/tinyNET/src/dns/tnet_dns_ns.h b/tinyNET/src/dns/tnet_dns_ns.h index 9a77f26..9a77f26 100644..100755 --- a/tinyNET/src/dns/tnet_dns_ns.h +++ b/tinyNET/src/dns/tnet_dns_ns.h diff --git a/tinyNET/src/dns/tnet_dns_opt.c b/tinyNET/src/dns/tnet_dns_opt.c index dab4fea..dab4fea 100644..100755 --- a/tinyNET/src/dns/tnet_dns_opt.c +++ b/tinyNET/src/dns/tnet_dns_opt.c diff --git a/tinyNET/src/dns/tnet_dns_opt.h b/tinyNET/src/dns/tnet_dns_opt.h index 24485b9..24485b9 100644..100755 --- a/tinyNET/src/dns/tnet_dns_opt.h +++ b/tinyNET/src/dns/tnet_dns_opt.h diff --git a/tinyNET/src/dns/tnet_dns_ptr.c b/tinyNET/src/dns/tnet_dns_ptr.c index 23b7733..23b7733 100644..100755 --- a/tinyNET/src/dns/tnet_dns_ptr.c +++ b/tinyNET/src/dns/tnet_dns_ptr.c diff --git a/tinyNET/src/dns/tnet_dns_ptr.h b/tinyNET/src/dns/tnet_dns_ptr.h index fc2cbdc..fc2cbdc 100644..100755 --- a/tinyNET/src/dns/tnet_dns_ptr.h +++ b/tinyNET/src/dns/tnet_dns_ptr.h diff --git a/tinyNET/src/dns/tnet_dns_regexp.c b/tinyNET/src/dns/tnet_dns_regexp.c index 5cafeb8..5cafeb8 100644..100755 --- a/tinyNET/src/dns/tnet_dns_regexp.c +++ b/tinyNET/src/dns/tnet_dns_regexp.c diff --git a/tinyNET/src/dns/tnet_dns_regexp.h b/tinyNET/src/dns/tnet_dns_regexp.h index d40abce..d40abce 100644..100755 --- a/tinyNET/src/dns/tnet_dns_regexp.h +++ b/tinyNET/src/dns/tnet_dns_regexp.h diff --git a/tinyNET/src/dns/tnet_dns_resolvconf.c b/tinyNET/src/dns/tnet_dns_resolvconf.c index a4a0fbf..a4a0fbf 100644..100755 --- a/tinyNET/src/dns/tnet_dns_resolvconf.c +++ b/tinyNET/src/dns/tnet_dns_resolvconf.c diff --git a/tinyNET/src/dns/tnet_dns_resolvconf.h b/tinyNET/src/dns/tnet_dns_resolvconf.h index 5290c41..5290c41 100644..100755 --- a/tinyNET/src/dns/tnet_dns_resolvconf.h +++ b/tinyNET/src/dns/tnet_dns_resolvconf.h diff --git a/tinyNET/src/dns/tnet_dns_rr.c b/tinyNET/src/dns/tnet_dns_rr.c index b74a31d..b74a31d 100644..100755 --- a/tinyNET/src/dns/tnet_dns_rr.c +++ b/tinyNET/src/dns/tnet_dns_rr.c diff --git a/tinyNET/src/dns/tnet_dns_rr.h b/tinyNET/src/dns/tnet_dns_rr.h index f4a1b6b..f4a1b6b 100644..100755 --- a/tinyNET/src/dns/tnet_dns_rr.h +++ b/tinyNET/src/dns/tnet_dns_rr.h diff --git a/tinyNET/src/dns/tnet_dns_soa.c b/tinyNET/src/dns/tnet_dns_soa.c index a1844f4..a1844f4 100644..100755 --- a/tinyNET/src/dns/tnet_dns_soa.c +++ b/tinyNET/src/dns/tnet_dns_soa.c diff --git a/tinyNET/src/dns/tnet_dns_soa.h b/tinyNET/src/dns/tnet_dns_soa.h index 298e907..298e907 100644..100755 --- a/tinyNET/src/dns/tnet_dns_soa.h +++ b/tinyNET/src/dns/tnet_dns_soa.h diff --git a/tinyNET/src/dns/tnet_dns_srv.c b/tinyNET/src/dns/tnet_dns_srv.c index 4625d68..4625d68 100644..100755 --- a/tinyNET/src/dns/tnet_dns_srv.c +++ b/tinyNET/src/dns/tnet_dns_srv.c diff --git a/tinyNET/src/dns/tnet_dns_srv.h b/tinyNET/src/dns/tnet_dns_srv.h index c8cc94d..c8cc94d 100644..100755 --- a/tinyNET/src/dns/tnet_dns_srv.h +++ b/tinyNET/src/dns/tnet_dns_srv.h diff --git a/tinyNET/src/dns/tnet_dns_txt.c b/tinyNET/src/dns/tnet_dns_txt.c index 9d152e9..9d152e9 100644..100755 --- a/tinyNET/src/dns/tnet_dns_txt.c +++ b/tinyNET/src/dns/tnet_dns_txt.c diff --git a/tinyNET/src/dns/tnet_dns_txt.h b/tinyNET/src/dns/tnet_dns_txt.h index 05f54d9..05f54d9 100644..100755 --- a/tinyNET/src/dns/tnet_dns_txt.h +++ b/tinyNET/src/dns/tnet_dns_txt.h diff --git a/tinyNET/src/ice/tnet_ice.c b/tinyNET/src/ice/tnet_ice.c index 196009b..196009b 100644..100755 --- a/tinyNET/src/ice/tnet_ice.c +++ b/tinyNET/src/ice/tnet_ice.c diff --git a/tinyNET/src/ice/tnet_ice.h b/tinyNET/src/ice/tnet_ice.h index daffd08..daffd08 100644..100755 --- a/tinyNET/src/ice/tnet_ice.h +++ b/tinyNET/src/ice/tnet_ice.h diff --git a/tinyNET/src/ice/tnet_ice_candidate.c b/tinyNET/src/ice/tnet_ice_candidate.c index 6dba738..bb75b33 100644..100755 --- a/tinyNET/src/ice/tnet_ice_candidate.c +++ b/tinyNET/src/ice/tnet_ice_candidate.c @@ -437,10 +437,10 @@ int tnet_ice_candidate_process_stun_response(tnet_ice_candidate_t* self, const t } } if ((ret = tnet_stun_pkt_attr_find_first(response, tnet_stun_attr_type_nonce, (const tnet_stun_attr_t**)&pc_attr)) == 0 && pc_attr) { - tsk_strupdate(&self->stun.nonce, pc_attr->p_data_ptr); + tsk_strupdate(&self->stun.nonce, (const char*)pc_attr->p_data_ptr); } if ((ret = tnet_stun_pkt_attr_find_first(response, tnet_stun_attr_type_realm, (const tnet_stun_attr_t**)&pc_attr)) == 0 && pc_attr) { - tsk_strupdate(&self->stun.realm, pc_attr->p_data_ptr); + tsk_strupdate(&self->stun.realm, (const char*)pc_attr->p_data_ptr); } return 0; } diff --git a/tinyNET/src/ice/tnet_ice_candidate.h b/tinyNET/src/ice/tnet_ice_candidate.h index d2cb126..d2cb126 100644..100755 --- a/tinyNET/src/ice/tnet_ice_candidate.h +++ b/tinyNET/src/ice/tnet_ice_candidate.h diff --git a/tinyNET/src/ice/tnet_ice_ctx.c b/tinyNET/src/ice/tnet_ice_ctx.c index 94d3042..94d3042 100644..100755 --- a/tinyNET/src/ice/tnet_ice_ctx.c +++ b/tinyNET/src/ice/tnet_ice_ctx.c diff --git a/tinyNET/src/ice/tnet_ice_ctx.h b/tinyNET/src/ice/tnet_ice_ctx.h index 015fdcf..015fdcf 100644..100755 --- a/tinyNET/src/ice/tnet_ice_ctx.h +++ b/tinyNET/src/ice/tnet_ice_ctx.h diff --git a/tinyNET/src/ice/tnet_ice_event.c b/tinyNET/src/ice/tnet_ice_event.c index 480202f..480202f 100644..100755 --- a/tinyNET/src/ice/tnet_ice_event.c +++ b/tinyNET/src/ice/tnet_ice_event.c diff --git a/tinyNET/src/ice/tnet_ice_event.h b/tinyNET/src/ice/tnet_ice_event.h index 8f2f72e..8f2f72e 100644..100755 --- a/tinyNET/src/ice/tnet_ice_event.h +++ b/tinyNET/src/ice/tnet_ice_event.h diff --git a/tinyNET/src/ice/tnet_ice_pair.c b/tinyNET/src/ice/tnet_ice_pair.c index 33e71a5..33e71a5 100644..100755 --- a/tinyNET/src/ice/tnet_ice_pair.c +++ b/tinyNET/src/ice/tnet_ice_pair.c diff --git a/tinyNET/src/ice/tnet_ice_pair.h b/tinyNET/src/ice/tnet_ice_pair.h index 7e40eb8..7e40eb8 100644..100755 --- a/tinyNET/src/ice/tnet_ice_pair.h +++ b/tinyNET/src/ice/tnet_ice_pair.h diff --git a/tinyNET/src/ice/tnet_ice_utils.c b/tinyNET/src/ice/tnet_ice_utils.c index d4ba8a7..d4ba8a7 100644..100755 --- a/tinyNET/src/ice/tnet_ice_utils.c +++ b/tinyNET/src/ice/tnet_ice_utils.c diff --git a/tinyNET/src/ice/tnet_ice_utils.h b/tinyNET/src/ice/tnet_ice_utils.h index 8e53915..8e53915 100644..100755 --- a/tinyNET/src/ice/tnet_ice_utils.h +++ b/tinyNET/src/ice/tnet_ice_utils.h diff --git a/tinyNET/src/stun/AStyle.sh b/tinyNET/src/stun/AStyle.sh index 9d81f4d..9d81f4d 100644..100755 --- a/tinyNET/src/stun/AStyle.sh +++ b/tinyNET/src/stun/AStyle.sh diff --git a/tinyNET/src/stun/tnet_stun.c b/tinyNET/src/stun/tnet_stun.c index d8566b2..d8566b2 100644..100755 --- a/tinyNET/src/stun/tnet_stun.c +++ b/tinyNET/src/stun/tnet_stun.c diff --git a/tinyNET/src/stun/tnet_stun.h b/tinyNET/src/stun/tnet_stun.h index 26f0def..26f0def 100644..100755 --- a/tinyNET/src/stun/tnet_stun.h +++ b/tinyNET/src/stun/tnet_stun.h diff --git a/tinyNET/src/stun/tnet_stun_attr.c b/tinyNET/src/stun/tnet_stun_attr.c index 4c31c05..4c31c05 100644..100755 --- a/tinyNET/src/stun/tnet_stun_attr.c +++ b/tinyNET/src/stun/tnet_stun_attr.c diff --git a/tinyNET/src/stun/tnet_stun_attr.h b/tinyNET/src/stun/tnet_stun_attr.h index 0052c66..0052c66 100644..100755 --- a/tinyNET/src/stun/tnet_stun_attr.h +++ b/tinyNET/src/stun/tnet_stun_attr.h diff --git a/tinyNET/src/stun/tnet_stun_attribute.c b/tinyNET/src/stun/tnet_stun_attribute.c index b8efdcc..b8efdcc 100644..100755 --- a/tinyNET/src/stun/tnet_stun_attribute.c +++ b/tinyNET/src/stun/tnet_stun_attribute.c diff --git a/tinyNET/src/stun/tnet_stun_attribute.h b/tinyNET/src/stun/tnet_stun_attribute.h index d9e0de7..d9e0de7 100644..100755 --- a/tinyNET/src/stun/tnet_stun_attribute.h +++ b/tinyNET/src/stun/tnet_stun_attribute.h diff --git a/tinyNET/src/stun/tnet_stun_binding.c b/tinyNET/src/stun/tnet_stun_binding.c index 6455751..6455751 100644..100755 --- a/tinyNET/src/stun/tnet_stun_binding.c +++ b/tinyNET/src/stun/tnet_stun_binding.c diff --git a/tinyNET/src/stun/tnet_stun_binding.h b/tinyNET/src/stun/tnet_stun_binding.h index d7e2ae4..d7e2ae4 100644..100755 --- a/tinyNET/src/stun/tnet_stun_binding.h +++ b/tinyNET/src/stun/tnet_stun_binding.h diff --git a/tinyNET/src/stun/tnet_stun_message.c b/tinyNET/src/stun/tnet_stun_message.c index 25d29a5..25d29a5 100644..100755 --- a/tinyNET/src/stun/tnet_stun_message.c +++ b/tinyNET/src/stun/tnet_stun_message.c diff --git a/tinyNET/src/stun/tnet_stun_message.h b/tinyNET/src/stun/tnet_stun_message.h index 70660f5..70660f5 100644..100755 --- a/tinyNET/src/stun/tnet_stun_message.h +++ b/tinyNET/src/stun/tnet_stun_message.h diff --git a/tinyNET/src/stun/tnet_stun_pkt.c b/tinyNET/src/stun/tnet_stun_pkt.c index e4d559d..e4d559d 100644..100755 --- a/tinyNET/src/stun/tnet_stun_pkt.c +++ b/tinyNET/src/stun/tnet_stun_pkt.c diff --git a/tinyNET/src/stun/tnet_stun_pkt.h b/tinyNET/src/stun/tnet_stun_pkt.h index da27673..da27673 100644..100755 --- a/tinyNET/src/stun/tnet_stun_pkt.h +++ b/tinyNET/src/stun/tnet_stun_pkt.h diff --git a/tinyNET/src/stun/tnet_stun_types.h b/tinyNET/src/stun/tnet_stun_types.h index 386f471..386f471 100644..100755 --- a/tinyNET/src/stun/tnet_stun_types.h +++ b/tinyNET/src/stun/tnet_stun_types.h diff --git a/tinyNET/src/stun/tnet_stun_utils.c b/tinyNET/src/stun/tnet_stun_utils.c index 8e35075..8e35075 100644..100755 --- a/tinyNET/src/stun/tnet_stun_utils.c +++ b/tinyNET/src/stun/tnet_stun_utils.c diff --git a/tinyNET/src/stun/tnet_stun_utils.h b/tinyNET/src/stun/tnet_stun_utils.h index c2999c7..c2999c7 100644..100755 --- a/tinyNET/src/stun/tnet_stun_utils.h +++ b/tinyNET/src/stun/tnet_stun_utils.h diff --git a/tinyNET/src/tinynet.h b/tinyNET/src/tinynet.h index 63df285..63df285 100644..100755 --- a/tinyNET/src/tinynet.h +++ b/tinyNET/src/tinynet.h diff --git a/tinyNET/src/tinynet_config.h b/tinyNET/src/tinynet_config.h index 813c2c0..813c2c0 100644..100755 --- a/tinyNET/src/tinynet_config.h +++ b/tinyNET/src/tinynet_config.h diff --git a/tinyNET/src/tls/tnet_dtls.c b/tinyNET/src/tls/tnet_dtls.c index 6420c9e..6420c9e 100644..100755 --- a/tinyNET/src/tls/tnet_dtls.c +++ b/tinyNET/src/tls/tnet_dtls.c diff --git a/tinyNET/src/tls/tnet_dtls.h b/tinyNET/src/tls/tnet_dtls.h index e5b518c..e5b518c 100644..100755 --- a/tinyNET/src/tls/tnet_dtls.h +++ b/tinyNET/src/tls/tnet_dtls.h diff --git a/tinyNET/src/tls/tnet_tls.c b/tinyNET/src/tls/tnet_tls.c index 0ae520c..0ae520c 100644..100755 --- a/tinyNET/src/tls/tnet_tls.c +++ b/tinyNET/src/tls/tnet_tls.c diff --git a/tinyNET/src/tls/tnet_tls.h b/tinyNET/src/tls/tnet_tls.h index 5e00ec8..5e00ec8 100644..100755 --- a/tinyNET/src/tls/tnet_tls.h +++ b/tinyNET/src/tls/tnet_tls.h diff --git a/tinyNET/src/tnet.c b/tinyNET/src/tnet.c index 25d763b..25d763b 100644..100755 --- a/tinyNET/src/tnet.c +++ b/tinyNET/src/tnet.c diff --git a/tinyNET/src/tnet.h b/tinyNET/src/tnet.h index 92b8e53..92b8e53 100644..100755 --- a/tinyNET/src/tnet.h +++ b/tinyNET/src/tnet.h diff --git a/tinyNET/src/tnet_auth.c b/tinyNET/src/tnet_auth.c index 941db1e..941db1e 100644..100755 --- a/tinyNET/src/tnet_auth.c +++ b/tinyNET/src/tnet_auth.c diff --git a/tinyNET/src/tnet_auth.h b/tinyNET/src/tnet_auth.h index 1f9642e..1f9642e 100644..100755 --- a/tinyNET/src/tnet_auth.h +++ b/tinyNET/src/tnet_auth.h diff --git a/tinyNET/src/tnet_endianness.c b/tinyNET/src/tnet_endianness.c index 62f1708..62f1708 100644..100755 --- a/tinyNET/src/tnet_endianness.c +++ b/tinyNET/src/tnet_endianness.c diff --git a/tinyNET/src/tnet_endianness.h b/tinyNET/src/tnet_endianness.h index 80a1232..80a1232 100644..100755 --- a/tinyNET/src/tnet_endianness.h +++ b/tinyNET/src/tnet_endianness.h diff --git a/tinyNET/src/tnet_hardwares.h b/tinyNET/src/tnet_hardwares.h index 7d015b5..7d015b5 100644..100755 --- a/tinyNET/src/tnet_hardwares.h +++ b/tinyNET/src/tnet_hardwares.h diff --git a/tinyNET/src/tnet_nat.c b/tinyNET/src/tnet_nat.c index 53a009a..53a009a 100644..100755 --- a/tinyNET/src/tnet_nat.c +++ b/tinyNET/src/tnet_nat.c diff --git a/tinyNET/src/tnet_nat.h b/tinyNET/src/tnet_nat.h index 46d774f..46d774f 100644..100755 --- a/tinyNET/src/tnet_nat.h +++ b/tinyNET/src/tnet_nat.h diff --git a/tinyNET/src/tnet_poll.c b/tinyNET/src/tnet_poll.c index 816f9c6..816f9c6 100644..100755 --- a/tinyNET/src/tnet_poll.c +++ b/tinyNET/src/tnet_poll.c diff --git a/tinyNET/src/tnet_poll.h b/tinyNET/src/tnet_poll.h index becd1c3..becd1c3 100644..100755 --- a/tinyNET/src/tnet_poll.h +++ b/tinyNET/src/tnet_poll.h diff --git a/tinyNET/src/tnet_proto.h b/tinyNET/src/tnet_proto.h index ef7d89e..ef7d89e 100644..100755 --- a/tinyNET/src/tnet_proto.h +++ b/tinyNET/src/tnet_proto.h diff --git a/tinyNET/src/tnet_proxy_node_socks_plugin.c b/tinyNET/src/tnet_proxy_node_socks_plugin.c index e5f8d08..e5f8d08 100644..100755 --- a/tinyNET/src/tnet_proxy_node_socks_plugin.c +++ b/tinyNET/src/tnet_proxy_node_socks_plugin.c diff --git a/tinyNET/src/tnet_proxy_node_socks_plugin.h b/tinyNET/src/tnet_proxy_node_socks_plugin.h index d6f942c..d6f942c 100644..100755 --- a/tinyNET/src/tnet_proxy_node_socks_plugin.h +++ b/tinyNET/src/tnet_proxy_node_socks_plugin.h diff --git a/tinyNET/src/tnet_proxy_plugin.c b/tinyNET/src/tnet_proxy_plugin.c index dbcd143..dbcd143 100644..100755 --- a/tinyNET/src/tnet_proxy_plugin.c +++ b/tinyNET/src/tnet_proxy_plugin.c diff --git a/tinyNET/src/tnet_proxy_plugin.h b/tinyNET/src/tnet_proxy_plugin.h index 0a247bc..0a247bc 100644..100755 --- a/tinyNET/src/tnet_proxy_plugin.h +++ b/tinyNET/src/tnet_proxy_plugin.h diff --git a/tinyNET/src/tnet_proxydetect.c b/tinyNET/src/tnet_proxydetect.c index 162985c..162985c 100644..100755 --- a/tinyNET/src/tnet_proxydetect.c +++ b/tinyNET/src/tnet_proxydetect.c diff --git a/tinyNET/src/tnet_proxydetect.h b/tinyNET/src/tnet_proxydetect.h index 23c5439..23c5439 100644..100755 --- a/tinyNET/src/tnet_proxydetect.h +++ b/tinyNET/src/tnet_proxydetect.h diff --git a/tinyNET/src/tnet_socket.c b/tinyNET/src/tnet_socket.c index 2d104d1..2d104d1 100644..100755 --- a/tinyNET/src/tnet_socket.c +++ b/tinyNET/src/tnet_socket.c diff --git a/tinyNET/src/tnet_socket.h b/tinyNET/src/tnet_socket.h index 3c7dc34..3c7dc34 100644..100755 --- a/tinyNET/src/tnet_socket.h +++ b/tinyNET/src/tnet_socket.h diff --git a/tinyNET/src/tnet_transport.c b/tinyNET/src/tnet_transport.c index 7d26d08..7d26d08 100644..100755 --- a/tinyNET/src/tnet_transport.c +++ b/tinyNET/src/tnet_transport.c diff --git a/tinyNET/src/tnet_transport.h b/tinyNET/src/tnet_transport.h index c4da35b..c4da35b 100644..100755 --- a/tinyNET/src/tnet_transport.h +++ b/tinyNET/src/tnet_transport.h diff --git a/tinyNET/src/tnet_transport_cfsocket.c b/tinyNET/src/tnet_transport_cfsocket.c index 4115b22..4115b22 100644..100755 --- a/tinyNET/src/tnet_transport_cfsocket.c +++ b/tinyNET/src/tnet_transport_cfsocket.c diff --git a/tinyNET/src/tnet_transport_poll.c b/tinyNET/src/tnet_transport_poll.c index 7ee6509..0774823 100644..100755 --- a/tinyNET/src/tnet_transport_poll.c +++ b/tinyNET/src/tnet_transport_poll.c @@ -340,7 +340,7 @@ int addSocket(tnet_fd_t fd, tnet_socket_type_t type, tnet_transport_t *transport context->ufds[context->count].fd = fd; context->ufds[context->count].events = (fd == context->pipeR) ? TNET_POLLIN : (TNET_POLLIN | TNET_POLLNVAL | TNET_POLLERR); - if(TNET_SOCKET_TYPE_IS_STREAM(sock->type)){ + if(TNET_SOCKET_TYPE_IS_STREAM(sock->type) && fd != context->pipeR){ context->ufds[context->count].events |= TNET_POLLOUT; // emulate WinSock2 FD_CONNECT event } context->ufds[context->count].revents = 0; @@ -350,7 +350,7 @@ int addSocket(tnet_fd_t fd, tnet_socket_type_t type, tnet_transport_t *transport tsk_safeobj_unlock(context); - TSK_DEBUG_INFO("Socket added[%s]: fd=%d, tail.count=%d", transport->description, fd, context->count); + TSK_DEBUG_INFO("Socket added[%s]: fd=%d, tail.count=%d", transport->description, fd, (int)context->count); return 0; } @@ -384,7 +384,7 @@ int removeSocket(int index, transport_context_t *context) if(index < (int)context->count){ /* Close the socket if we are the owner. */ - TSK_DEBUG_INFO("Socket to remove: fd=%d, index=%d, tail.count=%d", context->sockets[index]->fd, index, context->count); + TSK_DEBUG_INFO("Socket to remove: fd=%d, index=%d, tail.count=%d", context->sockets[index]->fd, index, (int)context->count); if(context->sockets[index]->owner){ // do not close the socket while it's being poll()ed // http://stackoverflow.com/questions/5039608/poll-cant-detect-event-when-socket-is-closed-locally @@ -587,12 +587,13 @@ void *tnet_transport_mainthread(void *param) is_stream = TNET_SOCKET_TYPE_IS_STREAM(transport->master->type); - TSK_DEBUG_INFO("Starting [%s] server with IP {%s} on port {%d} using fd {%d} with type {%d}...", + TSK_DEBUG_INFO("Starting [%s] server with IP {%s} on port {%d} using master fd {%d} with type {%d} with max_fds {%lu}...", transport->description, transport->master->ip, transport->master->port, transport->master->fd, - transport->master->type); + transport->master->type, + sizeof(context->ufds)/sizeof(context->ufds[0])); while(TSK_RUNNABLE(transport)->running || TSK_RUNNABLE(transport)->started){ context->polling = tsk_true; @@ -700,7 +701,7 @@ void *tnet_transport_mainthread(void *param) int listening = 0, remove_socket = 0; socklen_t socklen = sizeof(listening); - TSK_DEBUG_INFO("ioctlt(%d), len=%u returned zero or failed", active_socket->fd, len); + TSK_DEBUG_INFO("ioctlt(%d), len=%u returned zero or failed", active_socket->fd, (unsigned)len); // check if socket is listening if(getsockopt(active_socket->fd, SOL_SOCKET, SO_ACCEPTCONN, &listening, &socklen) != 0){ diff --git a/tinyNET/src/tnet_transport_win32.c b/tinyNET/src/tnet_transport_win32.c index 6f7886f..6f7886f 100644..100755 --- a/tinyNET/src/tnet_transport_win32.c +++ b/tinyNET/src/tnet_transport_win32.c diff --git a/tinyNET/src/tnet_types.h b/tinyNET/src/tnet_types.h index f4b55e2..f4b55e2 100644..100755 --- a/tinyNET/src/tnet_types.h +++ b/tinyNET/src/tnet_types.h diff --git a/tinyNET/src/tnet_utils.c b/tinyNET/src/tnet_utils.c index 64b1ea8..64b1ea8 100644..100755 --- a/tinyNET/src/tnet_utils.c +++ b/tinyNET/src/tnet_utils.c diff --git a/tinyNET/src/tnet_utils.h b/tinyNET/src/tnet_utils.h index 6673696..6673696 100644..100755 --- a/tinyNET/src/tnet_utils.h +++ b/tinyNET/src/tnet_utils.h diff --git a/tinyNET/src/turn/tnet_turn.c b/tinyNET/src/turn/tnet_turn.c index 0f38d02..0f38d02 100644..100755 --- a/tinyNET/src/turn/tnet_turn.c +++ b/tinyNET/src/turn/tnet_turn.c diff --git a/tinyNET/src/turn/tnet_turn.h b/tinyNET/src/turn/tnet_turn.h index af3a5e4..af3a5e4 100644..100755 --- a/tinyNET/src/turn/tnet_turn.h +++ b/tinyNET/src/turn/tnet_turn.h diff --git a/tinyNET/src/turn/tnet_turn_attr.c b/tinyNET/src/turn/tnet_turn_attr.c index 2303fa6..2303fa6 100644..100755 --- a/tinyNET/src/turn/tnet_turn_attr.c +++ b/tinyNET/src/turn/tnet_turn_attr.c diff --git a/tinyNET/src/turn/tnet_turn_attr.h b/tinyNET/src/turn/tnet_turn_attr.h index 55fb426..55fb426 100644..100755 --- a/tinyNET/src/turn/tnet_turn_attr.h +++ b/tinyNET/src/turn/tnet_turn_attr.h diff --git a/tinyNET/src/turn/tnet_turn_attribute.c b/tinyNET/src/turn/tnet_turn_attribute.c index 719f926..719f926 100644..100755 --- a/tinyNET/src/turn/tnet_turn_attribute.c +++ b/tinyNET/src/turn/tnet_turn_attribute.c diff --git a/tinyNET/src/turn/tnet_turn_attribute.h b/tinyNET/src/turn/tnet_turn_attribute.h index 127116c..127116c 100644..100755 --- a/tinyNET/src/turn/tnet_turn_attribute.h +++ b/tinyNET/src/turn/tnet_turn_attribute.h diff --git a/tinyNET/src/turn/tnet_turn_message.c b/tinyNET/src/turn/tnet_turn_message.c index 989fd2b..989fd2b 100644..100755 --- a/tinyNET/src/turn/tnet_turn_message.c +++ b/tinyNET/src/turn/tnet_turn_message.c diff --git a/tinyNET/src/turn/tnet_turn_message.h b/tinyNET/src/turn/tnet_turn_message.h index c518366..c518366 100644..100755 --- a/tinyNET/src/turn/tnet_turn_message.h +++ b/tinyNET/src/turn/tnet_turn_message.h diff --git a/tinyNET/src/turn/tnet_turn_session.c b/tinyNET/src/turn/tnet_turn_session.c index e131dbc..e131dbc 100644..100755 --- a/tinyNET/src/turn/tnet_turn_session.c +++ b/tinyNET/src/turn/tnet_turn_session.c diff --git a/tinyNET/src/turn/tnet_turn_session.h b/tinyNET/src/turn/tnet_turn_session.h index fa4a030..fa4a030 100644..100755 --- a/tinyNET/src/turn/tnet_turn_session.h +++ b/tinyNET/src/turn/tnet_turn_session.h diff --git a/tinyNET/test/droid-makefile b/tinyNET/test/droid-makefile index 0273af6..0273af6 100644..100755 --- a/tinyNET/test/droid-makefile +++ b/tinyNET/test/droid-makefile diff --git a/tinyNET/test/stdafx.c b/tinyNET/test/stdafx.c index 4cac236..4cac236 100644..100755 --- a/tinyNET/test/stdafx.c +++ b/tinyNET/test/stdafx.c diff --git a/tinyNET/test/stdafx.h b/tinyNET/test/stdafx.h index 92f1061..92f1061 100644..100755 --- a/tinyNET/test/stdafx.h +++ b/tinyNET/test/stdafx.h diff --git a/tinyNET/test/targetver.h b/tinyNET/test/targetver.h index 21af608..21af608 100644..100755 --- a/tinyNET/test/targetver.h +++ b/tinyNET/test/targetver.h diff --git a/tinyNET/test/test.c b/tinyNET/test/test.c index 64e0349..64e0349 100644..100755 --- a/tinyNET/test/test.c +++ b/tinyNET/test/test.c diff --git a/tinyNET/test/test.vcproj b/tinyNET/test/test.vcproj index 6b4162c..6b4162c 100644..100755 --- a/tinyNET/test/test.vcproj +++ b/tinyNET/test/test.vcproj diff --git a/tinyNET/test/test_auth.h b/tinyNET/test/test_auth.h index 5d51cd6..5d51cd6 100644..100755 --- a/tinyNET/test/test_auth.h +++ b/tinyNET/test/test_auth.h diff --git a/tinyNET/test/test_dhcp.h b/tinyNET/test/test_dhcp.h index c74e99c..c74e99c 100644..100755 --- a/tinyNET/test/test_dhcp.h +++ b/tinyNET/test/test_dhcp.h diff --git a/tinyNET/test/test_dhcp6.h b/tinyNET/test/test_dhcp6.h index c96fd96..c96fd96 100644..100755 --- a/tinyNET/test/test_dhcp6.h +++ b/tinyNET/test/test_dhcp6.h diff --git a/tinyNET/test/test_dns.h b/tinyNET/test/test_dns.h index f2ab145..f2ab145 100644..100755 --- a/tinyNET/test/test_dns.h +++ b/tinyNET/test/test_dns.h diff --git a/tinyNET/test/test_ice.h b/tinyNET/test/test_ice.h index 023a2c2..023a2c2 100644..100755 --- a/tinyNET/test/test_ice.h +++ b/tinyNET/test/test_ice.h diff --git a/tinyNET/test/test_ifaces.h b/tinyNET/test/test_ifaces.h index 2fd4e43..2fd4e43 100644..100755 --- a/tinyNET/test/test_ifaces.h +++ b/tinyNET/test/test_ifaces.h diff --git a/tinyNET/test/test_nat.h b/tinyNET/test/test_nat.h index 1a9bd68..1a9bd68 100644..100755 --- a/tinyNET/test/test_nat.h +++ b/tinyNET/test/test_nat.h diff --git a/tinyNET/test/test_sockets.h b/tinyNET/test/test_sockets.h index 3edd1bd..3edd1bd 100644..100755 --- a/tinyNET/test/test_sockets.h +++ b/tinyNET/test/test_sockets.h diff --git a/tinyNET/test/test_stun.h b/tinyNET/test/test_stun.h index 58fc9b1..58fc9b1 100644..100755 --- a/tinyNET/test/test_stun.h +++ b/tinyNET/test/test_stun.h diff --git a/tinyNET/test/test_tls.h b/tinyNET/test/test_tls.h index 48ae865..48ae865 100644..100755 --- a/tinyNET/test/test_tls.h +++ b/tinyNET/test/test_tls.h diff --git a/tinyNET/test/test_transport.h b/tinyNET/test/test_transport.h index b52b554..b52b554 100644..100755 --- a/tinyNET/test/test_transport.h +++ b/tinyNET/test/test_transport.h diff --git a/tinyNET/tinyNET.pc.in b/tinyNET/tinyNET.pc.in index 398988b..398988b 100644..100755 --- a/tinyNET/tinyNET.pc.in +++ b/tinyNET/tinyNET.pc.in diff --git a/tinyNET/tinyNET.sln b/tinyNET/tinyNET.sln index 76394ab..76394ab 100644..100755 --- a/tinyNET/tinyNET.sln +++ b/tinyNET/tinyNET.sln diff --git a/tinyNET/tinyNET.tag b/tinyNET/tinyNET.tag index 9a0cec2..9a0cec2 100644..100755 --- a/tinyNET/tinyNET.tag +++ b/tinyNET/tinyNET.tag diff --git a/tinyNET/tinyNET.vcproj b/tinyNET/tinyNET.vcproj index bf930bd..bf930bd 100644..100755 --- a/tinyNET/tinyNET.vcproj +++ b/tinyNET/tinyNET.vcproj diff --git a/tinyNET/version.rc b/tinyNET/version.rc index 521e468..521e468 100644..100755 --- a/tinyNET/version.rc +++ b/tinyNET/version.rc diff --git a/tinyNET/winrt/tinyNET.sln b/tinyNET/winrt/tinyNET.sln index 17c0217..17c0217 100644..100755 --- a/tinyNET/winrt/tinyNET.sln +++ b/tinyNET/winrt/tinyNET.sln diff --git a/tinyNET/winrt/tinyNET.vcxproj b/tinyNET/winrt/tinyNET.vcxproj index fac7eb9..fac7eb9 100644..100755 --- a/tinyNET/winrt/tinyNET.vcxproj +++ b/tinyNET/winrt/tinyNET.vcxproj diff --git a/tinyNET/winrt/tinyNET.vcxproj.filters b/tinyNET/winrt/tinyNET.vcxproj.filters index c718e80..c718e80 100644..100755 --- a/tinyNET/winrt/tinyNET.vcxproj.filters +++ b/tinyNET/winrt/tinyNET.vcxproj.filters |