From: Janet Davis (jlnd_at_cs.washington.edu)
Date: Wed Feb 18 2004 - 16:26:29 PST
On Wed, 18 Feb 2004, Jacob Christensen wrote:
> How should the client buffer be implemented so that the application will
> be able to get data from it in Fishnet 4? Are there any restrictions to
> data structures, or should we abstract the buffer to a function the app
> can call to get any data the buffer has?
Hi Jake and Cameron,
I've gotten a few questions similar to this. You will find the next
assignment easier if you provide a sockets-like interface; that is, your
data structures let you
* create a new connection
* listen for new connections on a port
* write to a sending connection (a client)
* read from a receiving connection (a server)
* close a connection
If you prefer, rather than implementing the transfer command for testing,
you may implement separate commands to create a connection, write, read,
and close. It's OK if these are not completely general (e.g., if the read
command reads from the first server connection). You may also use a test
pattern other than the one suggested in the assignment if you prefer.
Cheers,
Janet
-- Janet Davis jlnd_at_cs.washington.edu http://www.cs.washington.edu/homes/jlnd/ _______________________________________________ Cse461 mailing list Cse461_at_cs.washington.edu http://mailman.cs.washington.edu/mailman/listinfo/cse461
This archive was generated by hypermail 2.1.6 : Wed Feb 18 2004 - 16:26:34 PST