LIBSOCKET(7)           libsocket Reference           LIBSOCKET(7)


NAME
       libsocket - libsocket Library Overview

SYNOPSIS
       #include (lt)sys/socket.h(gt)

DESCRIPTION
       libsocket  is a socket-based networking library for DJGPP.

       libsocket uses Windows 3.x and '95's  networking  code  to
       provide  TCP/IP  services  to DJGPP programs when they are
       run in a DOS box under Windows. It does this by using Win-
       dows'  Winsock  Virtual  Device  Drivers  (VxDs) via a DOS
       Interrupt service.

       libsocket requires Windows TCP/IP drivers to be  installed
       to work - see the Windows' Networking Control Panel.

       The  library  is  based on Linux's socket networking code.
       This means that any programs using standard  socket  calls
       should work (changes to the programs will probably be nec-
       essary due to DOS's limitations). It also allows  program-
       mers  with familiarity of standard socket calls to quickly
       write programs using DJGPP.

       Since it is based on Linux's code, the library  looks  for
       configuration  files with the same name as on Linux. These
       files are host.conf, resolv.conf, hosts, networks and ser-
       vices  -  on  Linux these are found in /etc, but libsocket
       looks for them in the Windows directory.

       host.conf and resolv.conf need creating - see resolver(5).

       The files hosts, networks and services are usually present
       in the Windows directory, although they usually need edit-
       ing.  See hosts(5), networks(5) and services(5).  The file
       protocols is usually also be present in the Windows direc-
       tory,  but libsocket does not use this - see protocols(5).

COMPONENTS
       The  library  provides  the  include  files  and  linkable
       libraries.  These  have  the  same  names as on Linux (and
       other socket-compatible OS's): socket.h and libsocket.a.

BUGS
       getdomainname(2) doesn't work if the domain name can't  be
       read from the registry.

       gethostname(2) might return a NetBIOS name with spaces.

       ioctl() and fcntl() partly work.

       The  library  doesn't  work under Windows NT as it doesn't
       have a Winsock VxD.



libsocket 0.7.0             3 May 1998                          1





LIBSOCKET(7)           libsocket Reference           LIBSOCKET(7)


       The library doesn't work with Winsock 2,  which  means  it
       will not work with Windows '98.

SEE ALSO
       resolver(5), hosts(5), networks(5), services(5) and proto-
       cols(5)

AVAILABILITY
       This library is free software;  you  can  redistribute  it
       and/or  modify  it under the terms of the GNU Library Gen-
       eral Public License as  published  by  the  Free  Software
       Foundation;  either  version 2 of the License, or (at your
       option) any later version.

       This library is distributed in the hope that  it  will  be
       useful, but WITHOUT ANY WARRANTY; without even the implied
       warranty of MERCHANTABILITY or FITNESS  FOR  A  PARTICULAR
       PURPOSE.   See  the GNU Library General Public License for
       more details.

       You should have received a copy of the GNU Library General
       Public  License  along with this library; if not, write to
       the Free Software Foundation, Inc.,  675  Mass  Ave,  Cam-
       bridge, MA 02139, USA.

       Copyright 1997, 1998 by Indrek Mandre
       Copyright 1997, 1998 by Richard Dawe
       Portions copyright (C) 1997-1998 by The RegDos Group

       The   main   distribution   site   for   this  library  is
       http://www.geocities.com/SiliconValley/Lab/3216/lib-
       socket/.   The  old  distribution site for this library is
       http://www.pld.ttu.ee/~indrek, the old  maintainer's  home
       page, from which there is a link to the new site.

AUTHORS
       Indrek Mandre

              Indrek  was  the  main author for libsocket, but no
              longer maintains it (see below).

              (lt)indrek@warp.edu.ee(gt)
              http://www.pld.ttu.ee/~indrek

       Richard Dawe

              Rich now maintains libsocket for Indrek.

              (lt)rd5718@bristol.ac.uk(gt)
              http://irix.bris.ac.uk/~rd5718/

CREDITS
       Dan M. Hedlund




libsocket 0.7.0             3 May 1998                          2





LIBSOCKET(7)           libsocket Reference           LIBSOCKET(7)


              (lt)hedl0036@tc.umn.edu(gt)
              http://www.geocities.com/SiliconValley/Peaks/8523/

              His Winsock library is the base of this library.

       Alfons Hoogervorst

              (lt)alfons@hoogervorst.demon.nl(gt)
              http://www.hoogervorst.demon.nl/~proteus

              His dsock library helped me  to  get  select()  and
              blocking  recv()  calls  work.  He's also the main-
              tainer of the RegDos registry access code. He  also
              contributed  some  information  about  obtaining IP
              addresses under Windows.

       The RegDos Group

              The registry access code was  contributed  by  this
              group  of people - see Alfons Hoogervorst's details
              below as he is the maintainer of this project.

       Linus Torvalds

              Linux is the best OS. I  did  most  of  the  coding
              under it.

DISCREDITS
       Bill

              (lt)billg@microsoft.com(gt)
              http://www.microsoft.com/

              The  worst OS I've ever seen. It's slow. It crashes
              all the time and it looks ugly.






















libsocket 0.7.0             3 May 1998                          3



Please look at the man2html translation issues.
man2html.pl Version 1.1, Copyright 1997, 1998 by Richard Dawe