Explorar el Código

*** empty log message ***

Bogdan-Andrei Iancu hace 23 años
padre
commit
8f5f7c1eed
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      udp_server.c

+ 6 - 1
udp_server.c

@@ -234,7 +234,12 @@ int udp_send(struct socket_info *source, char *buf, unsigned len,
 {
 
 	int n;
-
+	DBG("*******udp_send send on sock %d\n",source->socket);
+	DBG("*******tolen = %d\n",tolen);
+	//DBG("*******sa_len = %d\n",to->s.sa_len);
+	DBG("*******sa_family = %d\n",to->s.sa_family);
+	DBG("*******sa_data = [%.*s]\n",14,to->s.sa_data);
+	DBG("*******udp_send done\n");
 
 again:
 	n=sendto(source->socket, buf, len, 0, &to->s, tolen);