Save
Busy. Please wait.
Log in with Clever
or

show password
Forgot Password?

Don't have an account?  Sign up 
Sign up using Clever
or

Username is available taken
show password


Make sure to remember your password. If you forget it there is no way for StudyStack to send you a reset link. You would need to create a new account.
Your email address is only used to allow you to reset your password. See our Privacy Policy and Terms of Service.


Already a StudyStack user? Log In

Reset Password
Enter the associated with your account, and we'll email you a link to reset your password.
focusNode
Didn't know it?
click below
 
Knew it?
click below
Don't Know
Remaining cards (0)
Know
0:00
Embed Code - If you would like this activity on your web page, copy the script below and paste it into your web page.

  Normal Size     Small Size show me how

csc chp2 flashcards

topic = socket programming

QuestionAnswer
what is the goal of socket programming learn how to build client/server applications that communicate using sockets
what is a socket door between application process and end-end-transport protocol
what are two types of socket programming UDP and TCP
what is a UDP unreliable datagram
what is a TCP reliable, byte stream-oriented
describe the socket programming characteristics with UDP no connection between client & server (no handshaking before sending data / sending explicitly attached IP destination address and port # to each packet / receiver extracts sending IP address and port # from received packet)
how does UDP receive/send data transmitted data may be lost or received out-of-oder
what is the application viewpoint for UDP UDP provides unreliable transfer of groups of bytes (datagram) between client and server
example app on UDP client slide 104
when socket programming is being used with TCP what must happen client must contact server (server process must first be running / server must have created socket that welcomes client's contact)
how does a client contact a server using socket programming with TCP creating TCP socket, specifying IP address, port number of server process / when client creates socket = client TCP establishes connection to server TCP
what happens when contacted by client TCP creates new socket for server process to communicate with that particular client (allows server to talk with multiple client / source port numbers used to distinguish clients)
what is the application viewpoint on TCP TCP provides reliable, in-order byte-stream transfer between client and server
example on client/server socket interaction slide 107
END of chapter 2 notes
Created by: NtokozoN
Popular Computers sets

 

 



Voices

Use these flashcards to help memorize information. Look at the large card and try to recall what is on the other side. Then click the card to flip it. If you knew the answer, click the green Know box. Otherwise, click the red Don't know box.

When you've placed seven or more cards in the Don't know box, click "retry" to try those cards again.

If you've accidentally put the card in the wrong box, just click on the card to take it out of the box.

You can also use your keyboard to move the cards as follows:

If you are logged in to your account, this website will remember which cards you know and don't know so that they are in the same box the next time you log in.

When you need a break, try one of the other activities listed below the flashcards like Matching, Snowman, or Hungry Bug. Although it may feel like you're playing a game, your brain is still making more connections with the information to help you out.

To see how well you know the information, try the Quiz or Test activity.

Pass complete!
"Know" box contains:
Time elapsed:
Retries:
restart all cards