Error while using LWP::Socket to send XML Data

'connect() - Establishing a Socket Communication' tutorial was cited in a PerlMonks forum post in 2013.

The connect() - Establishing a Socket Communication tutorial was cited in a PerlMonks forum post in 2013.

Subject: Error while using LWP::Socket to send XML Data
Date: May 10, 2013
Author: mmartin
Source: https://community.oracle.com/thread/2536800?tstart=2

>So here's the story... I have a Flash program running on a server 
>that sits and listens on a port. In order to do this you need to have
>a "Flash Policy File" which I have and does work when sending XML 
>Data from a C# program another employee wrote. So I run the 
>"flashpolicyd.pl" file and pass it my XML "Policy File" which is 
>currently set to receive requests from ANY host. So that part at
>least I know works.
>
>...

Ok so I got this working...

So I use this Perl Script along with another one that runs in the 
background on a remote terminal server. This script will now establish
a socket connection with the remote server, send an initial 
"acceptance" message so the remote server knows it is a valid 
connection. If the remote server does not receive the valid string it
will close the connection.

...

If anyone finds themselves trying to do something similar to this I 
found a few really good sites that helped me through this:
   DOCUMENTATION:
      http://search.cpan.org/~dapm/perl-5.14.4/ext/Socket/Socket.pm
   REALLY GOOD EXAMPLES HERE:
      http://www.binarytides.com/perl-socket-programming-tutorial/
      http://www.herongyang.com/Perl
         /Socket-connect-Establish-Socket-Communication.html

Table of Contents

 About This Book

 Reference Citations in 2017

 Reference Citations in 2016

 Reference Citations in 2015

 Reference Citations in 2014

Reference Citations in 2013

 (Android) Getting Current Date and Time

 Deatil View with other language

 Ordering and Installing SSL

 JDK (JBoss/Tomcat) SSL Issue

 Web-palveluiden koostaminen: web- ja RESTful-palvelut

 Corso di Architetture Orientate ai Servizi

 Hardening a SAS Installation on a multi tier installation on Linux

 [scala-user] for-loops still not optimized in 2.10?

 .bin/.cue - the purpose of .cue?

 (horror movie) com.hellogood.eCalendar

 Using keytool to convert bks file to p12

Error while using LWP::Socket to send XML Data

 jdk 1.7 keytool doesn't save

 Distributed Key System Broken Up Over Multiple Nodes

 Upgrading to a Mantis UTF8

 Cant receive MMS with wifi turned on

 Including and using the MySql.Data.dll on your web host server

 Spring Download (in Korean)

 Android Data Storage Folders

 Distributed Key Systems: Enhancing Security...

 WP Spreadplugin Basket not shown

 How do you get multiple resultset from a single CallableStatement?

 Blowfish Cipher Algorithm in Java

 Harmonics Systems for Time Mining

 Reference Citations in 2012

 Reference Citations in 2011

 Reference Citations in 2010

 Reference Citations in 2009

 Reference Citations in 2008

 Reference Citations in 2007

 Reference Citations in 2006

 Reference Citations in 2005

 Reference Citations in 2004

 Reference Citations in 2003

 PDF Printing Version