Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jim Plush's Blog:
PHP Socket Tutorial Part 1
Jul 28, 2006 @ 17:12:36

Jim Plush has posted part one of a series of tutorials covering the use of sockets in PHP:

Anyway, here is a link to Part I on my socket programming tutorial. This page is really aimed at getting you up to speed on what socket programming is all about and what all the commands refer to and what the parameters they take are geared to do. I'm planning on adding a section a week so we'll see how that goes.

In this first part he looks at:

  • the basic socket functions
  • TCP and UDP protocols
  • the creation of a socket server in PHP

In the end, there's a code listing of a very simple socket server, one he illustrates the use of through a simple telnet to the localhost.

tagged: socket tutorial part1 introduction server simple socket tutorial part1 introduction server simple

Link:


Trending Topics: