Newsgroups: comp.sys.amiga.datacomm
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!wuarchive!uunet!medar!jseymour
From: jseymour@medar.com (James Seymour)
Subject: Re: Ethernet and TCP/IP
Organization: Medar, Inc.     Farmington Hills, MI
Date: Sat, 25 May 1991 18:47:51 GMT
Message-ID: <1991May25.184751.3301@medar.com>
Keywords: TCP/IP Ethernet AS225
References: <5405@cernvax.cern.ch>

In article <5405@cernvax.cern.ch> zofka@cernvax.cern.ch (milan zofka) writes:
>
[stuff deleted]
>    socket library is quiet undocumented (I asked C= to explain me how
>    to ask IP if a connexion is pending without having to accept() but
>    no reply for two month)
>

Assuming C-A's socket library has it, the call you're looking for is
select().  If you didn't already know this, reference documentation
(i.e.: manual pages) is not going to teach you (at least not very
effectively) and vendor-supplied user guides are frequently poor.
This is why authors, publishers, and bookstores make money selling
books like "UNIX Network Programming" by W. Richard Stevens, which I
suggest you obtain a copy of.  It has very extensive explanations and
example code on all aspects of programming for Berkley sockets.  Also,
all of the example code in the book is available somewhere on the net.

I hope this helps.

-- 
Jim Seymour				| Medar, Inc.
...!uunet!medar!jseymour		| 38700 Grand River Ave.
jseymour@medar.com			| Farmington Hills, MI. 48331
CIS: 72730,1166  GEnie: jseymour	| FAX: (313)477-8897
