socket_recv() failed; reason: Success

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 2
Joined: Sat Oct 05, 2013 12:41 pm

socket_recv() failed; reason: Success

Postby BurhanKhan1 » Sat Oct 05, 2013 12:59 pm

I am writing and reading from socket opening a telnet port of remote machine. Fisrt i write the command and able the read and store data in a variable. But second time when i write data it will write successfully but at reading it gives an error "socket_recv() failed; reason: Success" and not result show.
I also used socket_recv and socket_read but same error on both.

Please help me in this regard. I want to write and read many commands one after another. Means first we write command and get result , then we write 2nd command and read it. and so on.


Return to “PHP coding => General”

Who is online

Users browsing this forum: No registered users and 3 guests