Changeset 599 for libcaca/trunk
- Timestamp:
- Mar 14, 2006, 1:49:01 PM (15 years ago)
- Location:
- libcaca/trunk/caca
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/caca/caca.h
r586 r599 94 94 * X11 driver, an X11 font name such as "fixed" or "5x7" is expected. 95 95 * 96 * \li \b CACA_NETWORK_PORT: set the port the network driver will listen on. 97 * Obviously only works when using CACA_DRIVER=network. 98 * Default to 7575 (KK in ASCII Dec) 96 * \li \b CACA_PORT: set the port the network driver will listen on, when 97 * the output driver is "network". Default port is 51914 (0xCACA). 99 98 */ 100 99 -
libcaca/trunk/caca/driver_network.c
r596 r599 99 99 { 100 100 int yes = 1, flags; 101 int port = 51914;101 int port = 0xCACA; /* 51914 */ 102 102 char *network_port, *tmp; 103 103 … … 107 107 108 108 #if defined(HAVE_GETENV) 109 network_port = getenv("CACA_ NETWORK_PORT");109 network_port = getenv("CACA_PORT"); 110 110 if(network_port && *network_port) 111 111 {
Note: See TracChangeset
for help on using the changeset viewer.