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 1:22 pm


I opend a remote socket of a remote server and read a command and get the result. But when i give 2nd command it writes on the socket bet at time of reading it gets an error

socket_recv() failed; reason: Success,

Please help so that i am able to write and read multiple extensions on after another.

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

Re: socket_recv() failed; reason: Success

Postby johnj » Sat Oct 12, 2013 12:31 am

try to print the error using socket_strerror(socket_last_error())
php-forum Super User
php-forum Super User
Posts: 1805
Joined: Thu Mar 10, 2011 5:07 pm

Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

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