]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - simpsock.h
2003-06-23 Max Bowsher <maxb@ukf.net>
[cygwin-apps/setup.git] / simpsock.h
index e09e6612c61f3d27c71128f693a99950689f3312..6f678ec158376b5eeabe839f2647d99499af68fa 100644 (file)
@@ -15,7 +15,8 @@
 
 /* Simplified socket access functions */
 
-class SimpleSocket {
+class SimpleSocket
+{
 
   SOCKET s;
   char *buf;
@@ -23,9 +24,9 @@ class SimpleSocket {
   int fill ();
   void invalidate (void);
 
- public:
-  SimpleSocket (const char *hostname, int port);
-  ~SimpleSocket ();
+public:
+    SimpleSocket (const char *hostname, int port);
+   ~SimpleSocket ();
 
   int ok ();
 
@@ -33,5 +34,5 @@ class SimpleSocket {
   int write (const char *buf, int len);
 
   char *gets ();
-  int  read (char *buf, int len);
+  int read (char *buf, int len);
 };
This page took 0.026374 seconds and 5 git commands to generate.