Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

socket_recv() failed; reason: Success

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

socket_recv() failed; reason: Success

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

Hi
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.


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

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.