Module agi_tcp_server

The Agi-Tcp-Server listens to a given port.

Copyright © 2005-2006 Ericsson

Version: 1.0

Authors: Freek Sanders (freekisanders@gmail.com) [web site: http://www.freeksanders.tk].

Description

The Agi-Tcp-Server listens to a given port. When a process connects to this port, the server calls the given fun with the newly created socket as argument. The given fun starts a agi-worker-server process (see agi_worker)

Function Index

children/1
start_client/3
start_raw_server/4
stop/1

Function Details

children/1

children(Port) -> term()

start_client/3

start_client(Host, Port, Length) -> term()

start_raw_server/4

start_raw_server(Port, Fun, Max, Length) -> term()

stop/1

stop(Port) -> term()