View Source Bolt.Sips.Socket (Boltx v0.0.1)

A default socket interface used to communicate to a Neo4j instance.

Any other socket implementing the same interface can be used in place of this one. Actually, this module doesn't implement the interface on its own, it delegates calls to the gen_tcp (http://erlang.org/doc/man/gen_tcp.html) and inet (http://erlang.org/doc/man/inet.html) modules. Any of these modules doesn't fully implement the required interface, hence, both of them must be used.

Summary

Functions

Delegates to :inet.close/1

Delegates to :gen_tcp.connect/4

Delegates to :gen_tcp.recv/2

Delegates to :gen_tcp.recv/3

Delegates to :gen_tcp.send/2

Delegates to :inet.setopts/2

Functions

Delegates to :inet.close/1

Link to this function

connect(host, port, opts, timeout)

View Source

Delegates to :gen_tcp.connect/4

Delegates to :gen_tcp.recv/2

Link to this function

recv(sock, length, timeout)

View Source

Delegates to :gen_tcp.recv/3

Delegates to :gen_tcp.send/2

Delegates to :inet.setopts/2