1
0
mirror of https://github.com/ubf/ubf.git synced 2026-04-22 04:35:53 +00:00
Files
ubf/sessions
Joseph Wayne Norton 01172799d8 import ubf-1.7.tgz
2009-04-11 20:53:36 +09:00

33 lines
554 B
Plaintext

start_server (Port)
start_client(Port)
Session behaviour
=================
Server side:
ss:start(Port, Max)
Start a session server (Once)
Every time a connection request is made a new process is
spawned.
cs:connect(Host, Port)
Triues to make a connection to the server side
If a new connection is made
{ok, Pid} is returned otherwise error.
Thereafer if the server side dies an exit will be sent
cs:erlSend(Pid, Term)
Send a term to the server
Term will be delivered to the process spawned off
by the server