🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2486

Re: How do I detect an active TCP/IP (IBM) under OS/2?

#2486
From: oleg
Date: Tue, 26 Mar 1991 14:50
10 lines
956 bytes
In article <8281@umd5.umd.edu> dzoey@terminus.umd.edu (Joe Herman) writes:
>from the socket() (or sock_init()) call.  However, if inet is not
>functioning the call to socket() causes the program to exit.  Since
>the program can still function without TCP/IP, this is not a desired
>behavior.

INET.EXE allocates a shared segment \SHAREMEM\MAILBOX. You can check
if the segment is allocated before making the first socket call.

Oleg Vishnepolsky
Technical Details
Message-ID: <1991Mar26.145016.12118@arnor.uucp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!bywater!arnor!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!bywater!arnor!news
From: oleg@arnor.UUCP
Newsgroups: comp.os.os2.programmer,comp.protocols.tcp-ip
Subject: Re: How do I detect an active TCP/IP (IBM) under OS/2?
Message-ID: <1991Mar26.145016.12118@arnor.uucp>
Date: 26 Mar 91 14:50:16 GMT
Article-I.D.: arnor.1991Mar26.145016.12118
Sender: news@arnor.uucp (NNTP News Poster)
Organization: IBM T.J. Watson Research Center
Lines: 10