Lec3 - ECE151 Lecture 3 1 ECE151 Lecture 3 Chapter 2...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ECE151 Lecture 3 1 ECE151 Lecture 3 Chapter 2 Communication ECE151 Lecture 3 2 Berkeley Sockets (1) Socket primitives for TCP/IP. Release the connection Close Receive some data over the connection Receive Send some data over the connection Send Actively attempt to establish a connection Connect Block caller until a connection request arrives Accept Announce willingness to accept connections Listen Attach a local address to a socket Bind Create a new communication endpoint Socket Meaning Primitive ECE151 Lecture 3 3 Berkeley Sockets (2) Connection-oriented communication pattern using sockets. ECE151 Lecture 3 4 The Message-Passing Interface (MPI) Some of the most intuitive message-passing primitives of MPI. Check if there is an incoming message, but do not block MPI_irecv Receive a message; block if there are none MPI_recv Pass reference to outgoing message, and wait until receipt starts MPI_issend Pass reference to outgoing message, and continue MPI_isend Send a message and wait for reply MPI_sendrecv Send a message and wait until receipt starts...
View Full Document

Page1 / 21

Lec3 - ECE151 Lecture 3 1 ECE151 Lecture 3 Chapter 2...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online