ctl.c (da52b4caaf187775f6b56a72c6b16e94ad728f7b) ctl.c (b8d48d6233f9e4dea8aa24fe12c059e0baaacd2f)
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 33 unchanged lines hidden (view full) ---

42 */
43
44#include <sys/types.h>
45#include <sys/socket.h>
46
47#include <string.h>
48
49#include "talk.h"
1/*
2 * Copyright (c) 1983, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 33 unchanged lines hidden (view full) ---

42 */
43
44#include <sys/types.h>
45#include <sys/socket.h>
46
47#include <string.h>
48
49#include "talk.h"
50#include "talk_ctl.h"
50
51struct sockaddr_in daemon_addr = { .sin_len = sizeof(daemon_addr), .sin_family = AF_INET };
52struct sockaddr_in ctl_addr = { .sin_len = sizeof(ctl_addr), .sin_family = AF_INET };
53struct sockaddr_in my_addr = { .sin_len = sizeof(my_addr), .sin_family = AF_INET };
54
55 /* inet addresses of the two machines */
56struct in_addr my_machine_addr;
57struct in_addr his_machine_addr;

--- 64 unchanged lines hidden ---
51
52struct sockaddr_in daemon_addr = { .sin_len = sizeof(daemon_addr), .sin_family = AF_INET };
53struct sockaddr_in ctl_addr = { .sin_len = sizeof(ctl_addr), .sin_family = AF_INET };
54struct sockaddr_in my_addr = { .sin_len = sizeof(my_addr), .sin_family = AF_INET };
55
56 /* inet addresses of the two machines */
57struct in_addr my_machine_addr;
58struct in_addr his_machine_addr;

--- 64 unchanged lines hidden ---