Thanks for your replay. Please if you have done anything on socket programming with php before where did you save it before testing and how did you tested it?
Thanks Joseph Stut wrote: > > joefazee wrote: >> i`m writing a socket application using the php socket() function, the >> problem >> is, how can i run it, i read in some tutorial that i should copy it to >> the >> server root. which server root?, Apache?. or did i need to install >> windows >> server? but i did not have two system. my development system is what i`m >> using with Apache to test the web applications. can somebody tell me how >> to >> setup this server and run a network application? > > By "socket application" do you mean a client or a server? > > If it's a client is it web-based, cli or gui? Actually it doesn't > matter, running a client that uses sockets is no different to running a > client that doesn't use sockets. > > I'm assuming you mean a socket server, in which case you probably want > to run it on the command line and shove it into the background. This is > basic shell stuff and not really to do with PHP. I suggest you find a > beginners guide to the OS you're using and do some research on how to > run a daemon. > > -Stut > > -- > http://stut.net/ > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- View this message in context: http://www.nabble.com/How-can-i-setup-a-server-to-run-a-socket-programme-tf4277737.html#a12179841 Sent from the Php - Database mailing list archive at Nabble.com. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php