jagomart
digital resources
picture1_Socketprog


 142x       Filetype PDF       File size 0.57 MB       Source: fac-staff.seattleu.edu


File: Socketprog
socket programming what is a socket using sockets types protocols associated functions styles we will look at using sockets in c 1 what is a socket an interface between application ...

icon picture PDF Filetype PDF | Posted on 03 Feb 2023 | 2 years ago
Partial capture of text on file.
     Socket Programming
     What is a socket?
     Using sockets
        Types (Protocols)
        Associated functions
        Styles
        We will look at using sockets in C
                                                              1
     What is a socket?
     An interface between application and 
       network
        The application creates a socket
        The socket type dictates the style of 
          communication
           • reliable vs. best effort
           • connection-oriented vs. connectionless
     Once configured the application can
        pass data to the socket for network 
          transmission
        receive data from the socket (transmitted 
          through the network by some other host)
                                                            2
     Socket
     A socket  is an abstract representation of 
       a communication endpoint.
     Sockets  work with Unix I/O services just 
       like files, pipes & FIFOs.
        Treat me as a file, please!
     Sockets (obviously) have special needs:
        establishing a connection
        specifying communication endpoint addresses
                                                              3
    Unix Descriptor Table
       Descriptor Table     Data structure for file 0
      0
      1
      2                        Data structure for file 1
      3
      4                         Data structure for file 2
                                                4
The words contained in this file might help you see if this file matches what you are looking for:

...Socket programming what is a using sockets types protocols associated functions styles we will look at in c an interface between application and network the creates type dictates style of communication reliable vs best effort connection oriented connectionless once configured can pass data to for transmission receive from transmitted through by some other host abstract representation endpoint work with unix i o services just like files pipes fifos treat me as file please obviously have special needs establishing specifying addresses descriptor table structure...

no reviews yet
Please Login to review.