Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

xetc-set-server-delimiters

source files: xetc.[ch], slisp/c/netseval.c

SYNTAX

(XETC-SET-SERVER-DELIMITERS <data_char> <end_char>)

DESCRIPTION

Sets the characters used to delimit the start of a valid s-expression and the end of message when an slisp application is started in server mode with the -s flag. <data_char> and <end_char> should be given as the decimal equivalent of the corresponding characters. These characters should generally be control charactesr that are not present in the messages returned from the server. Default value are defined in netseval.h and normally these do not need to be changed.

If this function is called from an slisp application started without the -s flag it is a no-op. When called from a client it should never be called without changing the client delimiter as well. The client function NET-SET-DELIMITERS, in the xnet module, accomplishes both these functions, so there is no reason to ever explicitly call xetc-set-server-delimiters.


Go to the first, previous, next, last section, table of contents.