|
Boost : |
From: Petr Ovchenkov (ptr_at_[hidden])
Date: 2001-12-20 03:40:47
Ross is right, by my opinion.
For sockets the background is usage of file descriptors that
associated with socket; this very like basic_filebuf, except
dual-directions sockets nature (with dual buffer for
income/outgoing). This part not reference to any server policy;
and not concern byte order. On that background possible
build state or stateless server, and implement communication
protocols that worry about byte order, serialization, etc.
- ptr
>>>>> "RS" == Ross Smith <r-smith_at_[hidden]> writes:
RS> In library design (as opposed to application design), efficiency
RS> is _always_ a problem. ("You can build a safe library on top of
RS> an efficient one, but not the other way around." -- James Kanze.)
RS> If you don't give it priority in library design, you're narrowing
RS> your user base to a subset of potential users.
RS> C++ is a general purpose language; uncompromising efficiency is a
RS> cornerstone of its success. If you want Java, you know where to
RS> find it.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk