have you tried the client script at http://php.ca/manual/en/ref.sockets.php
??
this seems to (kind of) work ..
however i get a ton of warning messsages from php such as

"Attempting to connect to '202.14.186.30' on port '23'...
Warning: socket_connect() expects parameter 1 to be resource, boolean
Warning: socket_read() expects parameter 1 to be resource, boolean given
Warning: socket_write() expects parameter 1 to be resource, boolean
Warning: socket_close() expects parameter 1 to be resource, boolean
"
not sure why

might be different for you?
cheers


Kancha . wrote:

> I'm in a smilar situation. I'm trying to telnet to a
> RAS server using php and the process justs hangs. I
> tried to telnet to other linux servers as well and the
> result was same. fsockopen to other ports such as 21
> or even 25 workds. It's just the port 23 that's giving
> this strange problem.
> 
> So far I haven't got a clue.
> 
> 
> --- brendan <[EMAIL PROTECTED]> wrote:
> 
>>hi
>>
>>i have been trying to write a telnet client to a
>>tn3270 IBM mainframe 
>>database ( pericles.ipaustralia.gov.au:23 ) using
>>fsockopen ...
>>i thought it wouldnt be that bad given i have done
>>something similar 
>>with usenet ..
>>however i cannot get it to work no matter what I do
>>.. i just get a 
>>permanent hang ...
>>has anyone ever attempted this or have any
>>solutions?
>>
>>i know this is rather open ended but i cant offer
>>any code which even 
>>kind of works..
>>
>>it would be much appreciated..
>>
>>
>>-- 
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, e-mail:
>>[EMAIL PROTECTED]
>>For additional commands, e-mail:
>>[EMAIL PROTECTED]
>>To contact the list administrators, e-mail:
>>[EMAIL PROTECTED]
>>
>>
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to