ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/host/c++/socket++-1.10/README
Revision: 1.1
Committed: Mon Feb 26 15:01:39 2001 UTC (23 years, 9 months ago) by ab11
Branch: MAIN
CVS Tags: PROJECT_COMPLETION
Log Message:
Networking class. Assumed to be bug free.

File Contents

# Content
1 This directory contains the source for the C++ socket library
2 Version: 17Oct95 1.10
3
4 Manifest:
5 --------
6 README.....................this file
7 configure config.h.in, Makefile.in, acconfig.h
8 configure.in...............configuring files
9 sockstream.h...............contains sockbuf, sockAddr, isockstream,
10 osockstream, iosockstream class
11 declarations
12 sockstream.C...............related to sockstream.h
13 pipestream.h...............contains ipipestream, opipestream, and
14 iopipestream class definitions. They are
15 used instead of pipe and socketpair system
16 calls and popen C library function call.
17 pipestream.C...............related to pipestream.h
18 sockinet.h.................contains sockinetbuf, sockinetaddr classes.
19 It also contains the definitions of
20 isockinet, osockinet, and iosockinet stream
21 classes.
22 sockinet.C.................related to sockinet.h
23 sockunix.h.................contains sockunix, sockunixaddr classes.
24 It also contains the definitions of
25 isockunix, osockunix, and iosockunix stream
26 classes.
27 sockunix.C.................related to sockunix.h
28
29 Fork.h.....................wrapper class for fork () system call.
30
31 protocol.h.................base class for application protocols.
32 echo.h, echo.C.............Echo application protocol class.
33 smtp.h, smtp.C.............SMTP application protocol class.
34 ftp.h, ftp.C...............FTP application protocol class.
35
36 socket++.texi..............texinfo file for libsocket++.a
37
38 ./test
39 ------
40 tdunread.cc, tdunwrite.cc..test files for datagram unix sockets
41 tdinread.cc, tdinwrite.cc..test files for datagram inet sockets
42 tsunread.cc, tsunwrite.cc..test files for stream unix sockets
43 tsinread.cc, tsinwrite.cc..test files for stream inet sockets
44 tpipe.cc...................test file for pipe system call
45 tsockpair.cc...............test file for sockpair system call
46 tpopen.cc, tpopentest.cc...test files for popen function
47 testall.cc.................runs all the above tests
48 testall.exp................correct output of testall
49
50 tnntp.cc, tsmtp.cc, twhois.cc
51 tsendfiles.cc, thostnames.cc...........Some more examples
52
53
54 Copyright Notice:
55 ----------------
56 Copyright (C) 1992-1995 Gnanasekaran Swaminathan <gs4t@virginia.edu>
57
58 Permission is granted to use at your own risk and distribute this software
59 in source and binary forms provided the above copyright
60 notice and this paragraph are preserved on all copies.
61 This software is provided "as is" with no express or implied warranty.
62
63 Installation Note:
64 -----------------
65 This software has been tested in sun4 and IBM RS6000 machines only.
66 If you are having problems with any aspect of socket++, please
67 email me at gs4t@virginia.edu. We can fix it together.
68
69 This software works with iostream library. It has been tested with
70 AT&T iostream and libg++ 2.4 (or greater) iostream libraries.
71
72 If you are using AT&T cfront compatible compiler, you need at least
73 cfront 3.0.
74
75 If you are using gcc, you must have gcc 2.4.5 and libg++ 2.4
76 or greater versions installed before you can install socket++.
77
78 socket++.texi needs at least texinfo-2.16.
79
80 Gcc, libg++, and texinfo are all available for anonymous ftp from
81 prep.ai.mit.edu:/pub/gnu
82
83 cd socket++-1.9
84 configure --prefix="your favorite location"
85 make (if IBM xlC, then make CXX=xlC)
86 cd test
87 make check (if IBM xlC, then make CXX=xlC check)
88
89 Testing:
90 -------
91 make CXX=g++ check will automatically run testall.
92
93 You can also manually test as follows:
94 testall > testall.out
95 diff -c testall.out testall.exp
96 If there are any differences, manually check whether
97 testall.out and testall.exp have the same lines but only their
98 order is different. If they have the same lines but
99 for the order, you have installed properly. Otherwise,
100 try to findout what might be the reason and if you couldn't
101 please email me with your problem at gs4t@virginia.edu.
102
103 Bug reports:
104 -----------
105 Send them to me at gs4t@virginia.edu
106
107 News:
108 ----
109
110 17Oct95 1.10
111 . Made to work cleanly in RS6000 machines
112 . Bug fixes sent in by Blair incorporated.
113
114 07Aug95 1.9
115 . Exceptions dropped as many compilers do not support
116 it yet. A number of small bug fixes.
117 . Made to work with libg++-2.7.0 and gcc-2.7.0
118 . Configuration simplified greatly by Blair.
119
120 15Jan95 1.8
121 . Error handling greatly enhanced through the use
122 of exceptions.
123 . FTP class added.
124
125 08Nov94 1.7
126 . First stable version. Known to work in sunos4, aix3.2,
127 hpux, ultrix, linux, and osf2.
128
129 Acknowledgements:
130 ----------------
131 Gordon Joly <G.Joly@cs.ucl.ac.uk> for reporting bugs in
132 pipestream class implementation. He also knows how to make
133 the socket++ library a shared library.
134
135 Jim Anderson for reporting a bug in sockinet.C
136
137 Carl Gay <cgay@skinner.cs.uoregon.edu> for reporting a bug
138 and a fix in sockinet.C
139
140 Oliver Imbusch <flabes@parystec.de> for reporting a bug
141 in Makefile.in and suggesting several enhancements for sockbuf class.
142
143 Dierk Wendt <wendt@lambda.hella.de> for reporting errors
144 in the socket++ documentation.
145
146 Christian Schlichtherle <s_schli@ira.uka.de> for sending
147 patches for linux support.
148
149 Ed Martini <emartini@netcom.com> and taylor d fraley <taylor@mik.uky.edu>
150 sent in some more linux fixes.
151
152 Dan R. Greening <greening@zuni.chaco.com> for a fix in sockstream.h
153
154 Mike Christiansen for sending patches for hpux support and
155 memory leaks. He used purify to check for memory leaks.
156
157 Nanlin Xiao <nxiao@eng.tridom.com> for sending fixes
158 to compile under Objectcenter C++ compiler.
159
160 Solaris support is still weak, and thus the names
161 of people who helped to port to solaris is not listed
162 here yet.
163
164 V. Olshevsky <ovg@nusun.jinr.dubna.su> for catching sequence
165 point bugs in tdinwrite.C.
166
167 Blair Zajac <blair@olympia.gps.caltech.edu> provided the autoconfig
168 files and Makefile.ins needed to generate the configure and Makefiles
169 and a number of bug fixes.
170
171 Enjoy!
172
173 -Sekar
174
175 Gnanasekaran Swaminathan (gs4t@virginia.edu)
176 CSIS Lab. Dept. of Elec. Eng.
177 University of Virginia
178 Charlottesville VA 22903