The Initialization Order of Connection between the Sender and the Receiver

15 views
Skip to first unread message

Chun-Te Sung

unread,
Jun 11, 2018, 4:00:16 PM6/11/18
to pantheon...@googlegroups.com
Hi,

​Since Pantheon allows either side (sender or receiver) to initiate the connection​, I was wondering what the concept is. It is intuitive to run the receiver first and then the sender, but it may be strange to do the other way around. Does that mean the sender can start sending the packets while the receiver is just about to start?

Looking forward to your reply.

Regards,
Chun-Te

Francis Y. Yan

unread,
Jun 12, 2018, 2:34:09 AM6/12/18
to Chun-Te Sung, Pantheon
Hello Chun-Te,

Thanks for the question!

Even though most of the schemes on Pantheon are not written by us, but I don't think typically the sender will send any packets until a receiver is connected. For instance, the sender can create a TCP socket listening on some port and wait for a receiver to be connected. A common use case will be that a web server (sender) starts running first, and transfers data (web page) when users (receivers) are connected.

Thanks,
Francis Yan 

--
You received this message because you are subscribed to the Google Groups "Pantheon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pantheon-stanf...@googlegroups.com.
To post to this group, send email to pantheon...@googlegroups.com.
Visit this group at https://groups.google.com/group/pantheon-stanford.
To view this discussion on the web visit https://groups.google.com/d/msgid/pantheon-stanford/CAJyaiq%3D5ESRPQUgXrazsaGO3quu25av_z_dBu9gbgohLfggr8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages