- baschtel

- works initiating, results in shared secret
This commit is contained in:
Martin Willi
2005-11-18 16:29:14 +00:00
parent 90ef6620a2
commit daa1c00e9f
8 changed files with 441 additions and 37 deletions
+1
View File
@@ -61,6 +61,7 @@ status_t receiver(private_socket_t *this, packet_t **packet)
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, &oldstate);
pkt->source = host_create(AF_INET, "0.0.0.0", 0);
pkt->destination = host_create(AF_INET, "0.0.0.0", 0);
/* do the read */
pkt->data.len = recvfrom(this->socket_fd, buffer, MAX_PACKET, 0,