Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
- New php-forum User
- Posts: 2
- Joined: Sat Oct 05, 2013 12:41 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.
- php-forum Super User
- Posts: 1805
- Joined: Thu Mar 10, 2011 5:07 pm
try to print the error using socket_strerror(socket_last_error())
Return to “PHP coding => General”
Who is online
Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest