Documentation for #217

This commit is contained in:
Hackerpilot 2016-01-15 00:49:39 -08:00
parent 83ab71cc26
commit 12e5b25e62
1 changed files with 17 additions and 0 deletions

View File

@ -60,6 +60,23 @@ the issue.)
1. ```dub build --build=release --config=server```
# Sockets
## TCP
On Windows DCD will use TCP sockets to communicate between the client and server.
Other operating systems can use TCP sockets if the client and server use the `--tcp`
command-line switch.
## UNIX domain sockets
Operating systems that support UNIX domain sockets will use them by default.
#### OSX
The socket will be created at `/var/tmp/dcd-${UID}.socket`
#### Linux/BSD
The client and server will attempt to create the socket in the following locations:
* `${XDG_RUNTIME_DIR}/dcd.socket`
* `/tmp/dcd-${UID}.socket`
# Client
Because DCD is designed to be used from a text editor, this section is written
primarily for plugin authors.