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

Re: Sockets question



   It may be as simple as using a non-blocking connection, if you have
   not already.  Look in the [1]documentation on how to make the socket
   non-blocking.  It has been so many years since I looked at my code,
   thanks Scott.

   On 3/27/07, [2]Brian@xxxxxxxxxx <[3]Brian@xxxxxxxxxx> wrote:

        This is not directly a FTP or HTTP api question, but since Scott
     wrote
        the Sockets Tutorial I thought I'd start here.
        Scott - If I should post this in a different group let me know.
        We have an application based on the chapter 7 example code
     (SVREX7L &
        SVREX7I).  The client side is a PalmOS & PPC app we also wrote.
        Occasionally something will go wrong in the comunications
     (dropped
        phone line, program error on client, etc. ) when the server is
     doing a
        RDLINE() the client never responds.  The server job seems to
     hang
        forever at this point.
        I'd like to find a way for the server job to time out on the
     call to
        the RECV() api in RDLINE().  I've looked at some of the api
        documentation, but I am confused by it.
        Any thoughts?
        Brian J. Garland
        Vermont Information Processing, Inc.
        [4]brian@xxxxxxxxxx
     -------------------------------------------------------------------
     ----
     This is the FTPAPI mailing list.  To unsubscribe, please go to:
     [5]http://www.scottklement.com/mailman/listinfo/ftpapi
     -------------------------------------------------------------------
     ----

References

   1. http://www.scottklement.com/rpg/socktut/selectserver.html
   2. mailto:Brian@xxxxxxxxxx
   3. mailto:Brian@xxxxxxxxxx
   4. mailto:brian@xxxxxxxxxx
   5. http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------