Re: Mac & Circle 12 Support

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 11/10/97


On Mon, 10 Nov 1997, Doppleganger Software wrote:

>comm.c: 'set_sendbuf' referenced from 'init_socket' is undefined
>comm.c: 'non_block' referenced from 'init_socket' is undefined
>comm.c: 'set_sendbuf' referenced from 'new_descriptor' is undefined
>comm.c: 'non_block' referenced from 'new_descriptor' is undefined

Neither of this will probably work on the Macintosh anyway.  If you don't
have set_sendbuf then you don't have the SO_SNDBUF option.

--- 8< ---
#if defined(SO_SNDBUF)
/* Sets the kernel's send buffer size for the descriptor */
int set_sendbuf(socket_t s)
--- 8< ---

As for the nonblock() function, there are currently three different
versions in comm.c One for Windows, one for Amiga, and one for OS/@ and
Unix.  Chances are you'll have to make your own up for the Mac.

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST