Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private bool InitiateSendTransmission(Transmission transmission, Contact contact)
- {
- string id = CreateNewID();
- ControlTransferRequest ctr = new ControlTransferRequest(id, CreateNewKeyForRequest(id), LocalIPAddress());
- if (TryIPs(contact, delegate(string ip)
- {
- return SendMessage(ctr.GetBytes(), ip, CONTROL_PORT) > 0;
- }))
- return true;
- else
- {
- _sendingPublicKeysDictionary.Remove(id);
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment