wip

Dependents:   EthernetInterface_vz

Fork of Socket by VZTECH

Revision:
28:b63d42feab2a
Parent:
27:32b65754bb02
--- a/UDPSocket.cpp	Wed May 13 21:16:17 2015 +0000
+++ b/UDPSocket.cpp	Tue Sep 01 17:20:29 2015 +0000
@@ -46,7 +46,7 @@
     localHost.sin_family = AF_INET;
     localHost.sin_port = htons(port);
     
-    if ( debug_bind ) send_msg("bind of %d -- result in ( %d, %d )", port, htons(port), localHost.sin_port );
+    if ( debug_bind ) vz_printf ("bind of %d -- result in ( %d, %d )", port, htons(port), localHost.sin_port );
     
     localHost.sin_addr.s_addr = INADDR_ANY;
     
@@ -54,7 +54,7 @@
         close();
         return -1;
     }
-    if ( debug_bind ) send_msg("lwip_sock_portando_local_port %d - lwip_sock_portando_ntohs %d ", lwip_sock_portando_local_port, lwip_sock_portando_ntohs );
+    if ( debug_bind ) vz_printf ("lwip_sock_portando_local_port %d - lwip_sock_portando_ntohs %d ", lwip_sock_portando_local_port, lwip_sock_portando_ntohs );
     
     return 0;
 }