• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

COPYRIGHTH A D17-Mar-20032.7 KiB8159

ChangeLogH A D17-Mar-20031.7 KiB5235

MakefileH A D03-May-20221.1 KiB377

PORTINGH A D17-Mar-20032.6 KiB7258

READMEH A D17-Mar-20032.9 KiB7859

TODOH A D17-Mar-2003603 1412

ccbuffer.cH A D17-Mar-20033.5 KiB172125

ccbuffer.hH A D17-Mar-20031.9 KiB5624

ccdebug.cH A D17-Mar-20031.5 KiB6430

ccdebug.hH A D17-Mar-20031.3 KiB398

ccincludes.hH A D17-Mar-20032.5 KiB9250

ccutil.cH A D17-Mar-20031.8 KiB9655

ccutil.hH A D17-Mar-20031.3 KiB4715

ccxclient.cH A D17-Mar-200333.7 KiB1,2361,037

ccxclient.hH A D17-Mar-20038.1 KiB216125

ccxclientconn.cH A D03-May-20225 KiB194141

ccxdiscover.cH A D17-Mar-20036.5 KiB224179

ccxencode.cH A D17-Mar-20034 KiB169122

ccxencode.hH A D17-Mar-20031.9 KiB4716

ccxfile.cH A D17-Mar-20038.8 KiB343290

ccxmltrans.cH A D17-Mar-20033.2 KiB13399

ccxmltrans.hH A D17-Mar-20031.1 KiB345

ccxpacket.hH A D17-Mar-20032.8 KiB7844

ccxstream.cH A D03-May-202254.8 KiB2,0331,836

ccxstream.hH A D17-Mar-20034.8 KiB143103

ccxtest.cH A D17-Mar-200320.7 KiB896775

ccxversion.hH A D17-Mar-2003106 43

xbmsp-rcH A D17-Mar-20031.6 KiB9368

README

1This is a package implementing a xbmsp streaming protocol server and
2a (test) client code.
3
4COMMAND LINE OPTIONS
5
6  -l address
7        Listen only given local address.  Only one -l flag can be
8        given.  By default all local interface addresses are listened.
9
10  -p port
11        Listen given port (default is 1400).
12
13  -r directory
14        Use diven document root (default is current dir).  If -S
15        flags are present, it's often the best choice to use an
16        empty directory as a document root.  With option -r -
17        user can create a virtual root directory into which the
18        directories can be added with -S flag.
19
20  -u user
21        Run as given user.  Give up the user privileges and run with
22        as given user instead.  You need to have root privileges in
23        order to use this flag.
24
25  -P password
26        Require password authentication from the client.  Only
27        clients supplying the given password can use the server.
28        The client can also pass an user name in the authentication
29        step, but it's ignored.
30
31  -L
32        Follow symbolic links in the data directories.  Normally
33        symbolic links are not followed because of security reasons.
34        This option overrides the default and more secure option.
35
36  -f
37        Fork process to background.
38
39  -F pidfile
40        Save pid number to given file.  This is especially usable
41	if the server is running in the daemon mode (-f).
42
43  -S mountpoint=dir
44        Show dir in the root of the fileserver as mountpoint.  Multiple
45        -S flags can be present.
46
47EXAMPLE
48
49  ccxstream -f -F /var/run/ccxstream.pid -P s3cre7 -r /u/documents -S video=/u/videos -S audio=/u/mp3
50
51     Run server in background and show directory /u/documents as a
52     root directory of the server.  In addition show directory
53     /u/videos in as directory video and directory /u/mp3 as directory
54     audio in the document root.  All clients need to authenticate
55     with password "s3cre7"
56
57CAUTION
58
59  For security reasons symbolic links are not followed.  Document root
60  can however be a symbolic link.  If you want to use symbolic link
61  to point to a shared directory (-S flag) you can circumvent the
62  symbolic link by adding /. to the end of the path.  If for example
63  /u/videos is actually a symbolic link pointing to a real video
64  directory, you can use flag -S video=/u/videos/. instead of plain
65  -S video=/u/videos that would not work with a symlink.
66
67FOR WINDOWS/CYGWIN USERS
68
69  Cygwin uses peculiar file mapping.  Ordinary drive letters are not
70  used, but instead drives are mapped to unix like pathnames.  C:
71  becomes /cygdrive/c and D: becomes /cygdrive/c and so on.  For
72  example the path C:\DATA\MEDIA\VIDEO is /cygdrive/c/DATA/MEDIA/VIDEO
73  (I'm sure that you can figure it out).
74
75  It's also a known issue that in some Windows systems you have to use
76  -l flag with the external ip-address of your Windows box in order to
77  access it from the outside of your Windows box.
78