CSE681 - Software Modeling and Analysis

Lecture #5 - Sockets and Remoting

Revised: 02 October 2007
Home Courses Code Handouts CoreTech Books Articles Math Research Masters Projects SWDev WebDev News OtherLinks SiteDesign Graduates AllPages Office Hours Notices Contents

CSE681-SWMAA CSE686-IP CSE687-OOD CSE775-DO CSE776-DP CSE778-AWP CSE784-SWS

Lecture #01 Lecture #02 Lecture #03 Lecture #04 Lecture #05 Lecture #06 Lecture #07
Lecture #08 Lecture #09 Lecture #10 Lecture #11 Lecture #12 Lecture #13 Lecture #14

Contents Syllabus

Web Resources:

UML XML, HTML Code Project Microsoft Developer's Network DevelopMentor XML Sells Brothers Windows Developer's Journal Windows Forms DotNetJunkies GotDotNet C# Corner Mono Project

Office Hours: Instructor & TAs

Content:

This lecture is an introduction to sockets and remoting via Remote Procedure Calls (RPCs). Today we talk about Win32 sockets, .Net sockets, .Net Remoting, and give a lot of code examples.
  1. The Syllabus describes topics to be covered, reading material for you to digest before coming to class, and due dates for the assigned projects.
  2. OCD Problems
  3. Project #1, and Project #2
  4. Project #3, and Project #4
  5. For anyone who is still struggling to get Project #2 together, I've put another prototype in cse681/code/DiagrammarDemo2. This shows how to build an in-memory representation of symbols, how to select them, how to drag them, and how to create new symbols from a context menu.
  6. Another format for Uses
  7. Evaluating code projects - Cyclomatic Complexity, Size, Manual and Maintenance Pages, demonstration of requirements
  8. compile and run batch files
  9. Win32 Sockets Presentation
  10. Win32 Sockets Code Demonstration
  11. .Net Sockets Presentation
  12. .Net TCPClient and TCPServer classes
  13. .Net Sockets Code Demonstration
  14. Message Framing with sockets
  15. Message Framing, using threads and queues
  16. Base64Encoding
  17. .Net Remoting Presentation
  18. Basic Remoting Demo
  19. Remoting Demo with Pass-by-Value Call
  20. Remoting Demo with Pass-by-Reference Call
  21. Explaination of PBR File Transfer
  22. Remoting Demo - PBR File Transfer
  23. Lecture #5 folder contains a page of links to presentations and code discussed in this class. The Lecture folders will occasionally hold physical files of interest as well. Usually, however, all the materials of interest to the class are in the presentations and code folders. The contents of these folders will grow as you progress through the course.