Browse code

NEW updated (unixsock server and tm changes)

Jan Janak authored on 05/03/2004 18:38:50
Showing 1 changed files
... ...
@@ -13,9 +13,15 @@ modules:
13 13
    vm_reply() fifo functions was replcaed by TM with t_reply() fifo function
14 14
    NOTE!! because current version of SEMS/AA try to send reply via vm_reply,
15 15
    it will not work with the TM version.
16
+ - TM contains new command - t_write_unix("/tmp/sems.sock", "announcement")
17
+   sends a message using unix socket interface instead of FIFO interface.
18
+ - TM contains new config variable - unix_tx_timeout -- it specifies the
19
+   transmit timeout of t_write_sock
16 20
 new modules:
17 21
  - answer server options requests [options]
18 22
 core:
23
+ - new parts:
24
+       UNIX domain socket server implemented
19 25
  - changes: 
20 26
        protocol and port can be specified in the alias and listen lines, e.g.:
21 27
         alias= tcp:foo.bar:* udp:test.bar:5080 foo.com
... ...
@@ -43,6 +49,12 @@ core:
43 49
        if ser logs to syslog, you can control the facility for logging. Very
44 50
        useful when you want to divert all ser logs to a different log file.
45 51
        See man page syslog(3) for more detailes.
52
+   unix_sock = "/tmp/ser.sock"
53
+       The name of the socket the unixsock server should listen on.
54
+   unix_sock_children = 1
55
+       The number of children that will listen on the unix domain socket.
56
+   unix_tx_timeout = 2000
57
+       Timeout (in ms) used when sending replies through unix sockets.
46 58
  - new script commands:
47 59
    force_tcp_alias()
48 60
    force_tcp_alias(port)