Sever客户端TCP套接字请求金融交易,如迷你声明 [英] Sever client TCP socket request for financial transactions like mini statement

查看:84
本文介绍了Sever客户端TCP套接字请求金融交易,如迷你声明的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



需要帮助。我需要将ISO 8583格式的迷你账户等金融交易信息发送到银行服务器,并要求客户回复。



这里我创建了.net C#TCP客户端套接字将请求发送到服务器并获得响应。



但我的服务器根本没有响应。我正在维护日志。日志文件中也没有结果。



那么服务器端/客户端接收响应的可能性是什么。



等待提前回复。



提前致谢。



我尝试了什么:



这里我创建了.net C#TCP Client Socket来发送请求服务器并获得响应。



但我的服务器根本没有响应。我正在维护日志。日志文件中也没有结果。

Hi,
Need help. I need to send financial transaction message like Mini Statement of my account in ISO 8583 format to Bank server and require response from it.

Here I have created .net C# TCP Client Socket to send the request to Server and get the response.

But my serve is not responding at all.I'm maintaining log for this. No Result in Log file too.

So what are the possibilities at sever / client end to receive the response.

Waiting for early reply.

Thanks in advance.

What I have tried:

Here I have created .net C# TCP Client Socket to send the request to Server and get the response.

But my serve is not responding at all.I'm maintaining log for this. No Result in Log file too.

推荐答案

我们无法看到代码。



In一般来说,你应该检查每个可能返回错误代码的函数的返回值,并捕获可能抛出的函数的异常。



你也可以插入跟踪/日志输出和/或使用调试器检查哪些调用成功。



这样做,您应该能够检查客户端是否与服务器建立连接并发送请求。然后你应该得到一些回应。



由于您没有得到任何响应,因此很可能您的应用程序无法连接到服务器。另请注意,防火墙可能会阻止与服务器的通信。
We can't help without seeing code.

In general you should check the return value of every function that might return an error code and catch exceptions for functions that might throw.

You might also insert trace / log output and/or use the debugger to check which calls are successful.

Doing so, you should be able to check if your client establishes a connection with the server and sends the request. Then you should get some kind of response.

Because you are getting no response, it is much probable that your application is not able to connect to the server. Note also that the communication with the server might be blocked by a firewall.


这篇关于Sever客户端TCP套接字请求金融交易,如迷你声明的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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