]>
Commit | Line | Data |
---|---|---|
5c2e3e44 | 1 | #include <strings.h> |
2 | #include <string.h> | |
3 | #include <stdio.h> | |
4 | #include <stdlib.h> | |
5 | #include "mcast.h" | |
6 | ||
7 | int is_mcast(char *url) | |
8 | { | |
9 | if (strlen(url) < 7) | |
10 | return 0; | |
11 | ||
12 | if (!strncasecmp("udp://",url,6)) | |
13 | return 1; | |
14 | ||
15 | return 0; | |
16 | } | |
17 | ||
18 | int open_mcast(char *url) | |
19 | { | |
6bcf6c4c | 20 | if(!is_mcast(url)) |
21 | return -1; | |
5c2e3e44 | 22 | |
6bcf6c4c | 23 | fprintf(stderr,"multicast currently unimplemented!\n"); |
24 | return -1; | |
5c2e3e44 | 25 | } |