Sockets
Posted: Mon Mar 22, 2004 1:41 pm
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 >.<
-Neo
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 >.<
-Neo