ctl.c (a616808417cdb86ff40f755e7715c826497a7710) ctl.c (a3eb24c68be6b1e6b46e7171e6783aea7e5ecfac)
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 * This file handles haggling with the various talk daemons to
44 * get a socket to talk to. sockt is opened and connected in
45 * the progress
46 */
47
48#include <sys/types.h>
49#include <sys/socket.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 * This file handles haggling with the various talk daemons to
44 * get a socket to talk to. sockt is opened and connected in
45 * the progress
46 */
47
48#include <sys/types.h>
49#include <sys/socket.h>
50
51#include <string.h>
52
50#include "talk.h"
51
52struct sockaddr_in daemon_addr = { sizeof(daemon_addr), AF_INET };
53struct sockaddr_in ctl_addr = { sizeof(ctl_addr), AF_INET };
54struct sockaddr_in my_addr = { sizeof(my_addr), AF_INET };
55
56 /* inet addresses of the two machines */
57struct in_addr my_machine_addr;

--- 66 unchanged lines hidden ---
53#include "talk.h"
54
55struct sockaddr_in daemon_addr = { sizeof(daemon_addr), AF_INET };
56struct sockaddr_in ctl_addr = { sizeof(ctl_addr), AF_INET };
57struct sockaddr_in my_addr = { sizeof(my_addr), AF_INET };
58
59 /* inet addresses of the two machines */
60struct in_addr my_machine_addr;

--- 66 unchanged lines hidden ---