summaryrefslogtreecommitdiff
path: root/src/net/ipc.cpp
AgeCommit message (Collapse)AuthorFilesLines
2014-07-19Fix memory leak with ipc port selection.Andrei Karas1-3/+7
2014-07-19Fix possible infinite loop in ipc code.Andrei Karas1-5/+5
2014-07-19Remove from ipc code try/catch and add missing check.Andrei Karas1-42/+34
2014-07-19Fix different style issues in ipc code.Andrei Karas1-34/+28
2014-07-19fix warnings from mplintVincent Petithory1-0/+2
2014-07-19IPC: remove message typesr; forward raw string to chatInputVincent Petithory1-38/+9
2014-07-19IPC: fix copyrightVincent Petithory1-1/+1
2014-07-19Add IPC:Vincent Petithory1-0/+208
Manaplus now accepts connections on the 44007 port. * Uses SDL_Net/SDL_Thread. * Port can be changed with envvar IPC_PORT. * Default port is first checked then incremented until one is available. * start on demand with /ipctoggle (shuts down server socket) It has a simple text protocol: TYPE arg1 [args]... Message types: * CMD: execs a command supported by manaplus, e.g /emote * LTALK: talks in general tab * TALK: talks in current focused tab * [TODO] KEY: do as if the KEY was pressed on keyboard