The Sockets Sample
Links: Up
The sample in this directory shows how to use the .NET socket
library to write a simple server that echos the inputs received
from multiple clients simultaneously. The code is in client.fs and
server.fs.
Suggested Exercises
- Modify the sample to use a ThreadWorkerPool rather than threads.
- Modify the sample to automatically start the client as a thread, where the client's starter fuction captures the port to use as a free variable in its initial state.