home *** CD-ROM | disk | FTP | other *** search
- Path: corn.cso.niu.edu!usenet
- From: Dan Szkola <szkola@tanis.cso.niu.edu>
- Newsgroups: comp.sys.amiga.programmer
- Subject: AmiTCP recv call
- Date: Mon, 01 Apr 1996 14:23:00 -0600
- Organization: Northern Illinois University
- Message-ID: <31603B24.65AD@tanis.cso.niu.edu>
- NNTP-Posting-Host: tanis.cso.niu.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (X11; I; SunOS 5.5 sun4u)
-
- I am writing an AmiTCP app. I have written it on a unix box already, but
- the AmiTCP socket code does not work the same way. In unix, you open,
- read from and write to a socket as if it were a file. This does not seem
- to be the case for AmiTCP and bsdsocket.library.
-
- My question is:
- How do you tell when a socket is done receiving? I can send info over
- the socket and get a response back, but my program hangs waiting for
- more info on the socket. How do I know when there is nothing left to
- get?
-
- --
- ------------
- Dan Szkola
- Systems Programmer
- Northern Illinois University
- Oh what sad times are these when passing ruffians
- can say 'Nee' at will to old ladies --Roger the Shrubber
-