delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/26/17:27:27

Date: Thu, 26 May 1994 22:05:01 +0100
To: djgpp AT sun DOT soe DOT clarkson DOT edu
From: mag1007 AT hermes DOT cam DOT ac DOT uk (Martin Granell)
Subject: TCPIP library

        Thanks to everyone for that bit of info..... :) I've now fixed a 
couple of bugs in it, and have got it working. The library provides the unix 
facilities select,read,write,socket,listen,writev and getpeername. The 
select call is not identical to the unix one, but I'll fix that up. 
Currently it only supports TCP. It also can treat reading and writing to the 
console exactly the same as reading or writing to a socket number 0 (Just 
call read and write with 0 as the first argument, also the other fuctions 
work with it). There is one problem though. The routiines are named read_s, 
write_s, getpeername_s, so as not to confuse them with the file routines 
read and write (getpeername is already defined differently in the include 
files.)
        All this work is the work of Michal Furmanczyk. All I've done is 
made it more compatible with unix, and added console support.
        What I intend to do is add UDP and IP support.

        If anyone is interested in this version (Let's called it 0.1 to 
start...sound good?). Oh, and a name.....erm....TCPLIB (Boring but 
functional :) ), send me a note.

        Bye the way, it runs ontop of packet drivers, and is converted from 
the wattcp DOS library (Borland C).

        Again, thanks to Michal for his help, and if you want to continue 
it, you're welcome to, otherwise I'll add in more functionality on my end. 

                Yours,

                        Martin.


- Raw text -


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