Asynchronous Communication

Asked

Viewed 63 times

-1

I intend to implement private asynchronous communication (in python) in order to test some cryptographic algorithms. The goal would be to have an Emmiter that sends the encrypted message and have a Receiver that receives that message and decrypts it. At this point I am in doubt whether I should use Socket or simply a Pipe... Which is the best option?

1 answer

-1


Use socket on localhost, in general the operating systems are much more optimized in the sockets/network part than in Pipes: if bobear will be faster the socket than the pipe. And you can repurpose the code if you decide to use two separate machines.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.