bzero((char *)&skt, sizeof(skt));
bcopy(diskus->h_addr, (char *)&skt.sin_addr,
diskus->h_length);
skt.sin_family = diskus->h_addrtype;
skt.sin_port = rshell_service–>s_port;
if((connect(sd, (char *)&skt, sizeof(skt)))
<0) {
perror(“mycp: connect”);
exit(3);
}
#ifdef DEBUG
printf(“OK so far\n”);
#endif
write(sd, shell_str, sizeof(shell_str));
return sd;
}
void rcpTo(FILE *piccy, int sd, char *name,
int frame)
{
char line[PIXELS*CHANNELS];
char str[80], tmp_str[20];
int i, n;
sprintf(str, “rcp -t %d”, frame);
write(sd, str, strlen(str)+1);
Diskus Technical Guide
File Formats
9100-0217-02 - SEP 95
Appendix
12-29
Summary of Contents for Diskus
Page 1: ...Diskus Digital Disk Recorder Manual ...
Page 477: ...NOTES Diskus Operations Index 9100 0217 02 SEP 95 Index xvii ...
Page 478: ...NOTES Index Diskus Operations xviii Index 9100 0217 02 SEP 95 ...
Page 479: ...NOTES Diskus Operations Index 9100 0217 02 SEP 95 Index xix ...
Page 480: ...NOTES Index Diskus Operations xx Index 9100 0217 02 SEP 95 ...