如何发送带有ISO8583前缀的消息 [英] How do I send a ISO8583 prefixed message

查看:119
本文介绍了如何发送带有ISO8583前缀的消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



我在C#的pos终端上写POS应用程序,我需要发送

ISO 8583消息数据包到银行的主机服务器运行Postilion

Termapp。我能够使用API​​

成功打包消息并使用serversocket发送到服务器。但是我的挑战是,银行的规范说,一个2字节的标题是为所有发送到/来自Postilion的消息前缀

。拜托,我该如何解决这个问题?



我的尝试:



这是我的留言:

Hello All,

I am writing a POS application on a pos terminal in C# where i need to send
ISO 8583 message packet to bank's host server running Postilion
Termapp. I was able to successfully packed the message using the APIs
and send to the server using the serversocket. But my challenge is that
the bank's spec says that a 2-byte header is to prefixed all messages
sent to/from Postilion. Please, how do i go about this?

What I have tried:

This is my Message:

ISO0160000500800822000000000000004000000000000000401093254325642001





但是银行要求带有这个两字节标题的消息: \ 0C



but the bank require the message with this two byte header: "\0C"

\0CISO0160000500800822000000000000004000000000000000401093254325642001





显然并非总是相同我想知道如何计算它。



obviously not always is the same I want to know how to calculate it.

推荐答案

查阅文档:

ISO 8583 - 维基百科 [ ^ ]

ISO 8583简介 [ ^ ]
Consult the documentation:
ISO 8583 - Wikipedia[^]
Introduction to ISO 8583[^]


这篇关于如何发送带有ISO8583前缀的消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆