im doing some basic XML parsing for a small client, but ran into a dead before i even got started trying to get the XML data.
The instructions i was given are as follows:
[QUOTE]
Here is the connection information, which you will need to connect to the TCP/IP socket feed.
IP Address: *.*.
Port: 4500 (XML feed) or 4200 (ASCII feed)
Username/password: **** /
also a perl script was included that does exactly what i need (but not perl)
[CODE]
use IO::Socket;
use strict;
#Replace xxxxx with your username
my $login = “*****r”;
#Replace xxxxx with your password
my $pword = “*****r”;
my $port = 4500;
my $server = ‘*.*.*.*’; #replace the IP address here
my ($data,$socket);
$socket = IO::Socket::INET->new(
PeerAddr => $server,
Proto => ‘tcp’,
PeerPort => $port );
the problem is i am unable to mimic the code in PHP
any help in the right direction would be a great help
-aPeg