home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6727 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

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