[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Play Hangman at The BoycoT BBS



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In article <atnjl2$igo$1@server05.icaen.uiowa.edu>,
ground.ecn AppleII Librarian <apple2pd@ground.ecn.uiowa.edu> wrote:
>The HPUX versions of KEGS support this (at least up to version 0.60,
>starting with version 0.36 or so)...I don't know if KEGS under Linux,
>Windows, etc. support this 6501 & 6502 port-serial port emulation.

While scc.h #includes winsock.h for a Win32 build, the functions in
scc_driver.h are stubbed out unless you're building for Linux, Solaris, or
HP/UX.  I wouldn't think adding support for Win32 would be too difficult.
Windows Sockets isn't that different an interface from BSD sockets...hell,
Microsoft's Platform SDK recommends Stevens' _UNIX_Network_Programming_ as
an additional reference.  

(Off the top of my head, you'd want to #typedef SOCKET as int for non-Win32
systems (Win32 defines SOCKET as a unique type for socket descriptors),
change all socket descriptors from ints to SOCKETs, and put a conditional
around close() operations on socket descriptors so that it becomes
closesocket() when built under Win32.  There's probably other stuff you'd
need to change as well, such as the way network-related events are handled.)

  _/_   Scott Alfter
 / v \  salfter@salfter.dyndns.org
(IIGS(  http://salfter.dyndns.org   Top-posting!
 \_^_/  pkill -9 /bin/laden         >What is the most annoying thing on Usenet?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9/2LkVgTKos01OwkRAkOhAKCOnviqr2nP9a/33Qq8CVYAEwYKSwCfXpkd
9LNLu5PZvwRkypqIXexaxvo=
=NPTe
-----END PGP SIGNATURE-----