PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi there,
I'm trying to get a socket to connect to a certain IP, and when connected send some data, and then disconnect. If theres an error connecting or sending data, I want a message like 'Could not connect/send data, try again later...' to appear.
Could any one write an example of some sort please as php.net's is rather confusing >.<