Calling semantics, continued
Calling semantics, continued
- Three options: (Stevens, page 696)
- executed exactly once
- easy to deal with, but very hard to get over a network- what if the server crashed?
- executed at most once
- might not have happened at all, but will never happen more than once
- executed at least once
- the client keeps sending until it gets a response
- the server code must be idempotent