Help with TCP_NODELAY and socket.ph

K

Kevin Ireland

Hi,

I am trying to set TCP_NODELAY for a perl socket object, but I am having
problems with socket.ph on my system, which I had made using h2ph.The error
I get is:

_h2ph_pre.ph did not return a true value at C:/Perl/site/lib/socket.ph line
1.

which I get when I run my script, with the line: require "socket.ph";

I am new to using ActiveState's windows perl implementation, so I am not
sure if I have configured this correctly. I have tried looking in the perl
FAQ, but no luck on how to get around this.

Thanks in Advance.

--
Regards,

Kevin Ireland
Test Engineer/Team Lead
Adaptec UK Ltd
4th Floor, Howard House
Queens Avenue,
BRISTOL BS8 1SD

(e) (e-mail address removed)
(t) +44 (0) 117 920 9622 ( direct )
+44 (0) 117 930 9600 ( switchboard )
 
U

Uri Guttman

KI> I am trying to set TCP_NODELAY for a perl socket object, but I am
KI> having problems with socket.ph on my system, which I had made
KI> using h2ph.The error I get is:

why are you using socket.ph? and why did you run h2ph? those are for
perl4. Socket.pm has all you need for that and even better, use
IO::Socket.

uri
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,148
Messages
2,570,838
Members
47,385
Latest member
Joneswilliam01

Latest Threads

Top