ws_transport_gen_tcp (ws v0.2.0)

View Source

Reference ws_transport implementation over plain gen_tcp.

Used by the CT test suite as the embedder stand-in. Translates tcp / tcp_closed / tcp_error messages into the canonical ws_* messages the session consumes.

Summary

Functions

activate(Sock)

classify(Other, Sock)

close(Sock)

controlling_process(Sock, Pid)

peername(Sock)

recv(Sock, Timeout)

send(Sock, Data)