From owner-freebsd-questions Wed Sep 19 12:59:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mx0.ecxnetwork.net (mx0.ecxnetwork.net [208.144.33.2]) by hub.freebsd.org (Postfix) with ESMTP id DBEA137B408 for ; Wed, 19 Sep 2001 12:59:12 -0700 (PDT) Received: from mailsvr.ecx.com (ecx-irv-ns100.ecxnetwork.net [208.144.33.1] (may be forged)) by mx0.ecxnetwork.net (8.11.3/8.11.3) with ESMTP id f8JJgcV46567 for ; Wed, 19 Sep 2001 12:42:38 -0700 (PDT) (envelope-from JHilgeman@ecx.com) Received: by mailsvr.ecx.com with Internet Mail Service (5.5.2653.19) id ; Wed, 19 Sep 2001 12:58:32 -0700 Message-ID: <5D90F61EB6FDD411836500508B137F1AA3EEDA@mailsvr.ecx.com> From: Jonathan Hilgeman To: "'freebsd-questions@freebsd.org'" Subject: Sockets Date: Wed, 19 Sep 2001 12:58:31 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I run a web application that opens a socket using cURL and sends data to a payment gateway and then receives confirmations, etc... Sometimes, a visitor clicks multiple times and I have the program check to see if a transaction is already in process, and if so, it redirects them to a page where they can check to see whether the transaction has gone through. So now I have 1 thread/request going, doing the processing, and returning the data, and a second thread where the visitor can check to see if thread 1 has come back from processing or not. Normally, this works okay. SOMETIMES, thread 1 does not come back with data from the gateway, as if the connection had timed out. Sometimes the gateway has processed the transaction, and sometimes not. So I would like to know if there's a program or something that will allow me to either log socket communication, or to monitor the sockets, etc... Can anyone help me out with this? - Jonathan --- What goes up, must come down. Ask any system administrator. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message