Browse Source

NEW updated (unixsock server and tm changes)

Jan Janak 21 years ago
parent
commit
e1c502525a
1 changed files with 12 additions and 0 deletions
  1. 12 0
      NEWS

+ 12 - 0
NEWS

@@ -13,9 +13,15 @@ modules:
    vm_reply() fifo functions was replcaed by TM with t_reply() fifo function
    vm_reply() fifo functions was replcaed by TM with t_reply() fifo function
    NOTE!! because current version of SEMS/AA try to send reply via vm_reply,
    NOTE!! because current version of SEMS/AA try to send reply via vm_reply,
    it will not work with the TM version.
    it will not work with the TM version.
+ - TM contains new command - t_write_unix("/tmp/sems.sock", "announcement")
+   sends a message using unix socket interface instead of FIFO interface.
+ - TM contains new config variable - unix_tx_timeout -- it specifies the
+   transmit timeout of t_write_sock
 new modules:
 new modules:
  - answer server options requests [options]
  - answer server options requests [options]
 core:
 core:
+ - new parts:
+       UNIX domain socket server implemented
  - changes: 
  - changes: 
        protocol and port can be specified in the alias and listen lines, e.g.:
        protocol and port can be specified in the alias and listen lines, e.g.:
         alias= tcp:foo.bar:* udp:test.bar:5080 foo.com
         alias= tcp:foo.bar:* udp:test.bar:5080 foo.com
@@ -43,6 +49,12 @@ core:
        if ser logs to syslog, you can control the facility for logging. Very
        if ser logs to syslog, you can control the facility for logging. Very
        useful when you want to divert all ser logs to a different log file.
        useful when you want to divert all ser logs to a different log file.
        See man page syslog(3) for more detailes.
        See man page syslog(3) for more detailes.
+   unix_sock = "/tmp/ser.sock"
+       The name of the socket the unixsock server should listen on.
+   unix_sock_children = 1
+       The number of children that will listen on the unix domain socket.
+   unix_tx_timeout = 2000
+       Timeout (in ms) used when sending replies through unix sockets.
  - new script commands:
  - new script commands:
    force_tcp_alias()
    force_tcp_alias()
    force_tcp_alias(port)
    force_tcp_alias(port)