apidoc
[ class tree: apidoc ] [ index: apidoc ] [ all elements ]

Class: System_Socket_Creator

Source Location: /System_Socket-0.4.0/Socket/Creator.php

Class Overview


System_Socket_Creator


Author(s):

Version:

  • $Revision: 1.2 $

Methods


Inherited Variables

Inherited Methods


Class Details

[line 37]
System_Socket_Creator
  • Author: Michael Wallner <mike@php.net>
  • Version: $Revision: 1.2 $
  • Access: public


[ Top ]


Method Detail

createConnection   [line 46]

object System_Socket_Connection &createConnection( [array $socketParams = array()])

Create a System_Socket_Connection object
  • Return: or PEAR_Error on failure
  • Access: public

Parameters:

array   $socketParams   —  associative array of System_Socket options

[ Top ]

createListener   [line 69]

object System_Socket_Listener &createListener( [array $socketParams = array()])

Create a System_Socket_Listener object
  • Return: or PEAR_Error on failure
  • Access: public

Parameters:

array   $socketParams   —  associative array of System_Socket options

[ Top ]

createTcpConnection   [line 164]

object &createTcpConnection( string $address, int $port)

Create a TCP connection
  • Access: public

Parameters:

string   $address   — 
int   $port   — 

[ Top ]

createTcpListener   [line 141]

object &createTcpListener( string $address, int $port)

Create a TCP listener
  • Access: public

Parameters:

string   $address   — 
int   $port   — 

[ Top ]

createUdpConnection   [line 212]

object &createUdpConnection( string $address, int $port)

Create an UDP connection
  • Access: public

Parameters:

string   $address   — 
int   $port   — 

[ Top ]

createUdpListener   [line 187]

object &createUdpListener( string $address, int $port)

Create an UDP listener
  • Access: public

Parameters:

string   $address   — 
int   $port   — 

[ Top ]

createUnixConnection   [line 116]

object &createUnixConnection( string $path)

Create a unix socket connection
  • Access: public

Parameters:

string   $path   —  path to unix socket

[ Top ]

createUnixListener   [line 92]

object &createUnixListener( string $path)

Create a unix socket listener
  • Access: public

Parameters:

string   $path   —  path to unix socket

[ Top ]


Documentation generated on Mon, 11 Mar 2019 10:15:56 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.