Thread XML Input über SSL-Socket senden
(11 answers)
Opened by cohama at 2011-09-16 16:25
Du darfst das Socket nicht schließen sondern musst nach dem Senden wieder daraus lesen.
Also so: Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 print "Sandbox Environment\n"; $sock->print(qq{<Open seq="150" protocolVersion=$protoVer username="$uname" password="$pw"/>\0}); print "XML transfer done\n"; print <$sock>; print "Answer from server\n"; close($sock); # Finish the connection print "Finished the Line\n"; |