Winsock stuff


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Mike Saunders on January 23, 2008 at 08:17:04:

Working on using Winsock to submit / receive transactions to a credit card processing software application.

Using the FTP.IBS as a starting point I have been able to send and receive data.

However I have been noticing some quirks.
Just looking to bounce this off someone to see what I might have wrong and/or do not fully understand.
My Comet server looks to be running 2006v.381
My comet client looks to be running 2007v.384

I see that the docs says the data structure for STS winsock changed in .367, but what I am seeing does not match.

Though the IP Address/port the position matches.what I am seeing.
The positions for the last four items do not match.

The connection status and data status do not seem consistent.

In the following log, the credit card software is not running.
The software would be listening on port 31419
So the connection should fail.
But it says it connected, yet the IP address ports ar not correct.

This also shows how the STS results positioning is not correct.

Here is a sample
found gateway G03
found gateway G04
OPEN 192.168.1.113 31419
+OK Connect 192.168.1.113 on port 31419
doing open: sts =10 100570.0.0.0:65535 0.0.0.0:1077 01080000000
CRLF 1
+OK CRLF will be appended to write records.
USER1ZI1002


In another test I have a status of 01 with valid IP address and I am in fact connected.

found gateway G03
found gateway G04
OPEN 192.168.1.113 31419
+OK Connect 192.168.1.113 on port 31419
doing open: sts =10 10035192.168.1.113:31419 192.168.1.113:1089 01080000000
CRLF 1
+OK CRLF will be appended to write records.
USER1ZI1002
XML Request Sent: sts =01 10035192.168.1.113:31419 192.168.1.113:1089 01080100000
doing receive: sts =01 10035192.168.1.113:31419 192.168.1.113:1089 01080100000





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]