Jump to content

About TCP


pannlann

Recommended Posts

Hi Everyone this is my first time i be here and here is my problem

i would like to send xml script to exact ip and port through TCP protocal.
I have no idea to do this task :( so if there is anybody got some solution or any suggestion of the problem please reply in this topic or send me an e-mail ([email protected])

Thankz lot

PS here is my xml script

POST / HTTP/1.1
Host: 172.16.74.234
Content-type: text/xml
Connection: Keep-Alive
Authorization: Basic MDMwMDIyMDAwMTpLWDl6MHl2aQ==
Content-length: 426

<?xml version="1.0" encoding="TIS-620"?>
<message>
<sms type="mt">
<service-id>0300220001</service-id>
<destination>
<address>
<number type="international">6691006414</number>
</address>
</destination>
<source>
<address>
<number type="abbreviated">9666</number>
</address>
</source>
<ud type="text" encoding="default">Test SID:0300220001 by PUT2CPx.pl</ud>
<scts>2005-12-22T12:32:37Z</scts>
<dro>true</dro>
</sms>
</message>
Link to comment
https://forums.phpfreaks.com/topic/28067-about-tcp/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.