annotate netinstall/simpsock.h @ 836:8f668d99fea6

[xemacs-hg @ 2002-05-11 18:19:18 by adrian] [C21.5R21.4] [PATCH] xemacs-21.5: Add Q2.0.15 documenting EFS fails with 500 AUTH not understood -------------------- ChangeLog entries follow: -------------------- man/ChangeLog addition: 2002-05-11 Adrian Aichner <adrian@xemacs.org> * xemacs-faq.texi (Top): Add Q2.0.15 under "Installation and Trouble Shooting". * xemacs-faq.texi (Installation): Add Q2.0.15 to Installation menu. * xemacs-faq.texi (Q2.0.14): Fix unnumberedsubsec argument. * xemacs-faq.texi (Q2.0.15): New.
author adrian
date Sat, 11 May 2002 18:19:18 +0000
parents 3078fd1074e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
1 /*
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
2 * Copyright (c) 2000, Red Hat, Inc.
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
3 *
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
4 * This program is free software; you can redistribute it and/or modify
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
7 * (at your option) any later version.
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
8 *
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
9 * A copy of the GNU General Public License can be found at
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
10 * http://www.gnu.org/
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
11 *
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
12 * Written by DJ Delorie <dj@cygnus.com>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
13 *
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
14 */
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
15
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
16 /* Simplified socket access functions */
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
17
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
18 class SimpleSocket {
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
19
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
20 SOCKET s;
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
21 char *buf;
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
22 int putp, getp;
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
23 int fill ();
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
24
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
25 public:
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
26 SimpleSocket (char *hostname, int port);
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
27 ~SimpleSocket ();
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
28
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
29 int ok ();
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
30
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
31 int printf (char *fmt, ...);
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
32 int write (char *buf, int len);
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
33
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
34 char *gets ();
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
35 int read (char *buf, int len);
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
36 };