CpSc 824

Course Information:

  • Course Outline and Grading Procedures
  • Assignments

    Tests

    Sample Programs

    Solaris Socket Communications Examples
  • Simple datagram send and receive (hello world)
  • Simple datagram send/response send and receive (brain-dead client/server)
  • Possible lost datagram send and receive (timeout via select()) [Output 1, Output 2, Output 3 Really Bad!]
  • Broadcast example, the simple datagram response program above can be used to receive broadcasts.
  • Simple multicast send/response send and receive
  • select() example.
  • Simple connection-based client and a interative server and a fork-based concurrent server and a thread-based concurrent server.
  • Simple example of a "ps" command client and server.
  • Unix Domain client and server.

    Note: programs using sockets must be linked with the appropriate libraries, e.g.
    cc -o whatever whatever.c -lnsl -lsocket

    Solaris Ring Algorithms
  • Heavy-weight process example
  • Thread-based example
  • Makefile for previous two programs
  • Test application for synchronization project heavy-weight process version and thread version

    RPC Examples
  • SUN Documentation

  • Hello World RPC example
  • rstat RPC example
  • countchar RPC example
  • countchar Thread-Based RPC example
  • Hello World RPC example with Unix-style authentication.
  • Hello World RPC example with secure-RPC authentication.
  • MMap Examples
  • mmap reader and mmap writer (no msync)
  • mmap reader and mmap writer (with msync)
  • Papers

  • A Performance Comparison of Fast Distributed Synchronization Algorithms Theodore Johnson, University of Florida
  • separator separator separator separator separator separator separator separator separator

    Last Updated:
    © Department of Computer Science. All rights reserved.
    Renovation, mistakes, and maintenance by the Webmaster.