www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/17/18:49:41

Sender: richdawe AT bigfoot DOT com
Message-ID: <36CB4F06.A821E9DB@meridian22.net>
Date: Wed, 17 Feb 1999 23:21:42 +0000
From: Richard Dawe <richdawe AT bigfoot DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
CC: alainm AT rcsm DOT ece DOT mcgill DOT ca, Philippe Hanrigou <phanrigo AT messel DOT emse DOT fr>
Subject: Re: inetutils ?
References: <199902171924 DOT OAA14128 AT mccoy2 DOT ECE DOT McGill DOT CA>
Reply-To: djgpp-workers AT delorie DOT com

Hello.

Alain Magloire wrote:
> [I got inetutils on DJGPP on my todo list.
> Please CC, cause I'm not on the list]

	For your information, Philippe Hanrigou has been trying to port inetutils to
DJGPP. Please see his web page at:

	http://www.geocities.com/SiliconValley/Network/6993/

So far he's ported ftp mostly, and he is working on other parts of the
inetutils suite.
 
> - Socket API, for DJGPP. Such a beast exists ?
> I heard about wattcp, but they have some strange API
> and don't know if it's worth the try to slap Socket API
> on top. And the license policy is not clear.
> wsock ? can't find it, sock seems to say socket ?

	Dan Hedlund's WSOCK library can be found at:

	http://www.geocities.com/SiliconValley/Peaks/8523/

This is a C++ library.

	I'm the maintainer of libsocket, a C library that provides BSD-style socket
calls like socket(), connect(), etc. It's fairly compatible with the BSD
standard. Currently it only works with Winsock 1.1, which means Windows 3.x
and Windows '95. I'm working on Winsock 2 support, which will make it work on
Windows '98 too (not NT unfortunately). Philippe Hanrigou's port of inetutils
uses libsocket. See the libsocket home page at:

	http://www.geocities.com/SiliconValley/Lab/3216/lsck/lsck.htm

libsocket is distributed under the GNU LGPL.
 
> - OOB, Out-of-band request ?
> 
> - select (), O_NONBLOCKING, exec (), signal ().

	OOB data with libsocket is untested. I know for sure that SIGURG is not
supported. You should be able to send/receive OOB data however - SO_OOBINLINE
should be supported. select() works on sockets.
 
> My real concern really is the security aspects of things
> basically .. How do you loggin, in the POSIX/Un*x sense ?
> Can you logging ? This implies some sort of
> Multi{user/task/share} support.

	Since DJGPP is for DOS, it doesn't really have any concept of users, it just
fakes the details for the current user. Since DOS isn't multitasking, calls
like fork() are not implemented.

	Hope this helps.

-- 
==============================================================================
         Rich Dawe - 4th-year MSci Physicist @ Bristol University, UK
           richdawe AT bigfoot DOT com, http://www.bigfoot.com/~richdawe/
==============================================================================

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019