diff options
author | irungentoo <irungentoo@gmail.com> | 2014-05-18 10:55:38 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-05-18 10:55:38 -0400 |
commit | e87929e869d3d63eb4800d1c74daf099e2f0a264 (patch) | |
tree | c74578eca2df52803cdde8a3bd4fca9cb697c8ef /toxcore/TCP_client.h | |
parent | 9d4947ffa5bb176628528887f46bcd0b405a9edd (diff) |
TCP branch now ready for start of real testing.
Friends can now exchange TCP relay addresses so that they can
connect together.
Currently all bootstrap nodes are treated as TCP relays.
Diffstat (limited to 'toxcore/TCP_client.h')
-rw-r--r-- | toxcore/TCP_client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/toxcore/TCP_client.h b/toxcore/TCP_client.h index 9583e15f..afb95392 100644 --- a/toxcore/TCP_client.h +++ b/toxcore/TCP_client.h | |||
@@ -40,6 +40,7 @@ typedef struct { | |||
40 | uint8_t status; | 40 | uint8_t status; |
41 | sock_t sock; | 41 | sock_t sock; |
42 | uint8_t public_key[crypto_box_PUBLICKEYBYTES]; /* public key of the server */ | 42 | uint8_t public_key[crypto_box_PUBLICKEYBYTES]; /* public key of the server */ |
43 | IP_Port ip_port; /* The ip and port of the server */ | ||
43 | uint8_t recv_nonce[crypto_box_NONCEBYTES]; /* Nonce of received packets. */ | 44 | uint8_t recv_nonce[crypto_box_NONCEBYTES]; /* Nonce of received packets. */ |
44 | uint8_t sent_nonce[crypto_box_NONCEBYTES]; /* Nonce of sent packets. */ | 45 | uint8_t sent_nonce[crypto_box_NONCEBYTES]; /* Nonce of sent packets. */ |
45 | uint8_t shared_key[crypto_box_BEFORENMBYTES]; | 46 | uint8_t shared_key[crypto_box_BEFORENMBYTES]; |