Send XML via HTTP Post to IP:Port

后端 未结 2 792
鱼传尺愫
鱼传尺愫 2021-02-10 12:03

Ok so to start off, I\'m not using any sort of web service. Right now I don\'t know a whole lot about the application receiving the XML other than it receives it. Big help there

2条回答
  •  别那么骄傲
    2021-02-10 12:33

    If you have an IP and port why you are not trying XML over TCP/IP. In C# you can do this by using System.Net.Sockets class TCPClient. This class is having methods Connect , send and receive, in order to connect with IP and port then send message and wait to receive message.

提交回复
热议问题