root / trunk / data / inetutils / mdns.diff

Revision 218, 18.2 kB (checked in by saurik, 7 months ago)

Fixed some dependencies, removed mDNS fix for 2.0, and factored for multi-arch support.

  • inetutils-1.

    diff -rui inetutils-1.5/ftp/main.c inetutils-1.5+iPhone/ftp/main.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1985, 1989, 1993, 1994, 2002 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    115117int 
    116118main (int argc, char *argv[]) 
    117119{ 
     120#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     121    struct nlist nl[2]; 
     122    memset(nl, 0, sizeof(nl)); 
     123    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     124    nlist("/usr/lib/libc.dylib", nl); 
     125    if (nl[0].n_type != N_UNDF) 
     126        *(int *) nl[0].n_value = 0; 
     127#endif 
     128 
    118129  int ch, top; 
    119130  struct passwd *pw = NULL; 
    120131  char *cp; 
  • ftpd/ftpd.c

    diff -rui inetutils-1.5/ftpd/ftpd.c inetutils-1.5+iPhone/ftpd/ftpd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* - Ftp Server 
    24 * Copyright (c) 1985, 1988, 1990, 1992, 1993, 1994, 2002 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    328330int 
    329331main(int argc, char *argv[], char **envp) 
    330332{ 
     333#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     334    struct nlist nl[2]; 
     335    memset(nl, 0, sizeof(nl)); 
     336    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     337    nlist("/usr/lib/libc.dylib", nl); 
     338    if (nl[0].n_type != N_UNDF) 
     339        *(int *) nl[0].n_value = 0; 
     340#endif 
     341 
    331342  int option; 
    332343 
    333344  program_name = argv[0]; 
  • gwhois/whois.c

    diff -rui inetutils-1.5/gwhois/whois.c inetutils-1.5+iPhone/gwhois/whois.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* Copyright 1999 by Marco d'Itri <md@linux.it>. 
    24 * 
    35 * This program is free software; you can redistribute it and/or modify 
     
    4749 
    4850int main(int argc, char *argv[]) 
    4951{ 
     52#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     53    struct nlist nl[2]; 
     54    memset(nl, 0, sizeof(nl)); 
     55    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     56    nlist("/usr/lib/libc.dylib", nl); 
     57    if (nl[0].n_type != N_UNDF) 
     58        *(int *) nl[0].n_value = 0; 
     59#endif 
     60 
    5061    int ch, nopar = 0; 
    5162    const char *server = NULL, *port = NULL; 
    5263    char *p, *q, *qstring, fstring[64] = "\0"; 
  • ifconfig/ifconfig.c

    diff -rui inetutils-1.5/ifconfig/ifconfig.c inetutils-1.5+iPhone/ifconfig/ifconfig.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* ifconfig.c -- network interface configuration utility 
    24 
    35   Copyright (C) 2001, 2002, 2007 Free Software Foundation, Inc. 
     
    5658int 
    5759main(int argc, char *argv[]) 
    5860{ 
     61#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     62    struct nlist nl[2]; 
     63    memset(nl, 0, sizeof(nl)); 
     64    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     65    nlist("/usr/lib/libc.dylib", nl); 
     66    if (nl[0].n_type != N_UNDF) 
     67        *(int *) nl[0].n_value = 0; 
     68#endif 
     69 
    5970  int err = 0; 
    6071  int sfd; 
    6172  struct ifconfig *ifp; 
  • inetd/inetd.c

    diff -rui inetutils-1.5/inetd/inetd.c inetutils-1.5+iPhone/inetd/inetd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 
    24   Free Software Foundation, Inc. 
    35 
     
    386388int 
    387389main (int argc, char *argv[], char *envp[]) 
    388390{ 
     391#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     392    struct nlist nl[2]; 
     393    memset(nl, 0, sizeof(nl)); 
     394    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     395    nlist("/usr/lib/libc.dylib", nl); 
     396    if (nl[0].n_type != N_UNDF) 
     397        *(int *) nl[0].n_value = 0; 
     398#endif 
     399 
    389400  int option; 
    390401  struct servtab *sep; 
    391402  int dofork; 
  • logger/logger.c

    diff -rui inetutils-1.5/logger/logger.c inetutils-1.5+iPhone/logger/logger.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1983, 1993, 2002 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    101103int 
    102104main (int argc, char *argv[]) 
    103105{ 
     106#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     107    struct nlist nl[2]; 
     108    memset(nl, 0, sizeof(nl)); 
     109    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     110    nlist("/usr/lib/libc.dylib", nl); 
     111    if (nl[0].n_type != N_UNDF) 
     112        *(int *) nl[0].n_value = 0; 
     113#endif 
     114 
    104115  int option, logflags, pri; 
    105116  char *tag, buf[1024]; 
    106117 
  • ping/ping6.c

    diff -rui inetutils-1.5/ping/ping6.c inetutils-1.5+iPhone/ping/ping6.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* Copyright (C) 1998, 2001, 2002, 2004, 2005, 2007 Free Software Foundation, Inc. 
    24 
    35   This file is part of GNU Inetutils. 
     
    8183int 
    8284main (int argc, char **argv) 
    8385{ 
     86#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     87    struct nlist nl[2]; 
     88    memset(nl, 0, sizeof(nl)); 
     89    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     90    nlist("/usr/lib/libc.dylib", nl); 
     91    if (nl[0].n_type != N_UNDF) 
     92        *(int *) nl[0].n_value = 0; 
     93#endif 
     94 
    8495  int c; 
    8596  char *p; 
    8697  int one = 1; 
  • ping/ping.c

    diff -rui inetutils-1.5/ping/ping.c inetutils-1.5+iPhone/ping/ping.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* Copyright (C) 1998,2001, 2002, 2005, 2007 Free Software Foundation, Inc. 
    24 
    35   This file is part of GNU Inetutils. 
     
    106108int 
    107109main (int argc, char **argv) 
    108110{ 
     111#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     112    struct nlist nl[2]; 
     113    memset(nl, 0, sizeof(nl)); 
     114    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     115    nlist("/usr/lib/libc.dylib", nl); 
     116    if (nl[0].n_type != N_UNDF) 
     117        *(int *) nl[0].n_value = 0; 
     118#endif 
     119 
    109120  int c; 
    110121  char *p; 
    111122  int one = 1; 
  • inetutils-1.

    diff -rui inetutils-1.5/rcp/rcp.c inetutils-1.5+iPhone/rcp/rcp.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1983, 1990, 1992, 1993, 2002 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    156158int 
    157159main (int argc, char *argv[]) 
    158160{ 
     161#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     162    struct nlist nl[2]; 
     163    memset(nl, 0, sizeof(nl)); 
     164    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     165    nlist("/usr/lib/libc.dylib", nl); 
     166    if (nl[0].n_type != N_UNDF) 
     167        *(int *) nl[0].n_value = 0; 
     168#endif 
     169 
    159170  struct servent *sp; 
    160171  int ch, fflag, tflag; 
    161172  char *targ; 
  • rexecd/rexecd.c

    diff -rui inetutils-1.5/rexecd/rexecd.c inetutils-1.5+iPhone/rexecd/rexecd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1983, 1993 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    105107int 
    106108main (int argc, char **argv) 
    107109{ 
     110#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     111    struct nlist nl[2]; 
     112    memset(nl, 0, sizeof(nl)); 
     113    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     114    nlist("/usr/lib/libc.dylib", nl); 
     115    if (nl[0].n_type != N_UNDF) 
     116        *(int *) nl[0].n_value = 0; 
     117#endif 
     118 
    108119  struct sockaddr_in from; 
    109120  int fromlen, sockfd = STDIN_FILENO; 
    110121  int c; 
  • rlogin/rlogin.c

    diff -rui inetutils-1.5/rlogin/rlogin.c inetutils-1.5+iPhone/rlogin/rlogin.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1983, 1990, 1993, 2002 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    236238int 
    237239main(int argc, char *argv[]) 
    238240{ 
     241#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     242    struct nlist nl[2]; 
     243    memset(nl, 0, sizeof(nl)); 
     244    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     245    nlist("/usr/lib/libc.dylib", nl); 
     246    if (nl[0].n_type != N_UNDF) 
     247        *(int *) nl[0].n_value = 0; 
     248#endif 
     249 
    239250  struct passwd *pw; 
    240251  struct servent *sp; 
    241252  sigset_t smask; 
  • rlogind/rlogind.c

    diff -rui inetutils-1.5/rlogind/rlogind.c inetutils-1.5+iPhone/rlogind/rlogind.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* Copyright (C) 1998,2001, 2002, 2007 Free Software Foundation, Inc. 
    24 
    35   This file is part of GNU Inetutils. 
     
    267269int 
    268270main (int argc, char *argv[]) 
    269271{ 
     272#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     273    struct nlist nl[2]; 
     274    memset(nl, 0, sizeof(nl)); 
     275    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     276    nlist("/usr/lib/libc.dylib", nl); 
     277    if (nl[0].n_type != N_UNDF) 
     278        *(int *) nl[0].n_value = 0; 
     279#endif 
     280 
    270281  int             port = 0; 
    271282  int             maxchildren = DEFMAXCHILDREN; 
    272283  int             mode = MODE_INETD; 
  • inetutils-1.

    diff -rui inetutils-1.5/rsh/rsh.c inetutils-1.5+iPhone/rsh/rsh.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/*- 
    24 * Copyright (c) 1983, 1990, 1993, 1994, 2002 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    220222int 
    221223main (int argc, char **argv) 
    222224{ 
     225#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     226    struct nlist nl[2]; 
     227    memset(nl, 0, sizeof(nl)); 
     228    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     229    nlist("/usr/lib/libc.dylib", nl); 
     230    if (nl[0].n_type != N_UNDF) 
     231        *(int *) nl[0].n_value = 0; 
     232#endif 
     233 
    223234  struct passwd *pw; 
    224235  struct servent *sp; 
    225236  sigset_t sigs, osigs; 
  • rshd/rshd.c

    diff -rui inetutils-1.5/rshd/rshd.c inetutils-1.5+iPhone/rshd/rshd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/*- 
    24 * Copyright (c) 1988, 1989, 1992, 1993, 1994, 2002 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    158160int 
    159161main (int argc, char *argv[]) 
    160162{ 
     163#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     164    struct nlist nl[2]; 
     165    memset(nl, 0, sizeof(nl)); 
     166    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     167    nlist("/usr/lib/libc.dylib", nl); 
     168    if (nl[0].n_type != N_UNDF) 
     169        *(int *) nl[0].n_value = 0; 
     170#endif 
     171 
    161172  extern int __check_rhosts_file; /* hook in rcmd(3) */ 
    162173  struct linger linger; 
    163174  int ch, on = 1, fromlen; 
  • syslogd/syslogd.c

    diff -rui inetutils-1.5/syslogd/syslogd.c inetutils-1.5+iPhone/syslogd/syslogd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* syslogd - log system messages 
    24 * 
    35 * Copyright (c) 1983, 1988, 1993, 1994, 2002 
     
    353355int 
    354356main (int argc, char *argv[]) 
    355357{ 
     358#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     359    struct nlist nl[2]; 
     360    memset(nl, 0, sizeof(nl)); 
     361    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     362    nlist("/usr/lib/libc.dylib", nl); 
     363    if (nl[0].n_type != N_UNDF) 
     364        *(int *) nl[0].n_value = 0; 
     365#endif 
     366 
    356367  int option; 
    357368  size_t i; 
    358369  FILE *fp; 
  • talk/talk.c

    diff -rui inetutils-1.5/talk/talk.c inetutils-1.5+iPhone/talk/talk.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1983, 1993 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    7173int 
    7274main (int argc, char *argv[]) 
    7375{ 
     76#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     77    struct nlist nl[2]; 
     78    memset(nl, 0, sizeof(nl)); 
     79    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     80    nlist("/usr/lib/libc.dylib", nl); 
     81    if (nl[0].n_type != N_UNDF) 
     82        *(int *) nl[0].n_value = 0; 
     83#endif 
     84 
    7485  int c; 
    7586 
    7687  program_name = argv[0]; 
  • talkd/talkd.c

    diff -rui inetutils-1.5/talkd/talkd.c inetutils-1.5+iPhone/talkd/talkd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* Copyright (C) 1998,2001, 2002, 2007 Free Software Foundation, Inc. 
    24 
    35   This file is part of GNU Inetutils. 
     
    5961int 
    6062main(int argc, char *argv[]) 
    6163{ 
     64#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     65    struct nlist nl[2]; 
     66    memset(nl, 0, sizeof(nl)); 
     67    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     68    nlist("/usr/lib/libc.dylib", nl); 
     69    if (nl[0].n_type != N_UNDF) 
     70        *(int *) nl[0].n_value = 0; 
     71#endif 
     72 
    6273  int c; 
    6374  char *acl_file = NULL; 
    6475 
  • telnet/main.c

    diff -rui inetutils-1.5/telnet/main.c inetutils-1.5+iPhone/telnet/main.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1988, 1990, 1993 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    180182int 
    181183main(int argc, char *argv[]) 
    182184{ 
     185#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     186    struct nlist nl[2]; 
     187    memset(nl, 0, sizeof(nl)); 
     188    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     189    nlist("/usr/lib/libc.dylib", nl); 
     190    if (nl[0].n_type != N_UNDF) 
     191        *(int *) nl[0].n_value = 0; 
     192#endif 
     193 
    183194        extern char *optarg; 
    184195        extern int optind; 
    185196        int ch; 
  • telnetd/telnetd.c

    diff -rui inetutils-1.5/telnetd/telnetd.c inetutils-1.5+iPhone/telnetd/telnetd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* Copyright (C) 1998, 2001, 2002, 2004, 2007x Free Software Foundation, Inc. 
    24 
    35   This file is part of GNU Inetutils. 
     
    112114int 
    113115main (int argc, char **argv) 
    114116{ 
     117#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     118    struct nlist nl[2]; 
     119    memset(nl, 0, sizeof(nl)); 
     120    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     121    nlist("/usr/lib/libc.dylib", nl); 
     122    if (nl[0].n_type != N_UNDF) 
     123        *(int *) nl[0].n_value = 0; 
     124#endif 
     125 
    115126  int c; 
    116127  program_name = argv[0]; 
    117128  while ((c = getopt_long (argc, argv, short_options, long_options, NULL)) 
  • tftp/main.c

    diff -rui inetutils-1.5/tftp/main.c inetutils-1.5+iPhone/tftp/main.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1983, 1993 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    154156int 
    155157main (int argc, char *argv[]) 
    156158{ 
     159#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     160    struct nlist nl[2]; 
     161    memset(nl, 0, sizeof(nl)); 
     162    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     163    nlist("/usr/lib/libc.dylib", nl); 
     164    if (nl[0].n_type != N_UNDF) 
     165        *(int *) nl[0].n_value = 0; 
     166#endif 
     167 
    157168  struct sockaddr_in sin; 
    158169 
    159170  program_name = argv[0]; 
  • tftpd/tftpd.c

    diff -rui inetutils-1.5/tftpd/tftpd.c inetutils-1.5+iPhone/tftpd/tftpd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1983, 1993 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    124126int 
    125127main (int argc, char *argv[]) 
    126128{ 
     129#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     130    struct nlist nl[2]; 
     131    memset(nl, 0, sizeof(nl)); 
     132    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     133    nlist("/usr/lib/libc.dylib", nl); 
     134    if (nl[0].n_type != N_UNDF) 
     135        *(int *) nl[0].n_value = 0; 
     136#endif 
     137 
    127138  register struct tftphdr *tp; 
    128139  register int n; 
    129140  int ch, on; 
  • uucpd/uucpd.c

    diff -rui inetutils-1.5/uucpd/uucpd.c inetutils-1.5+iPhone/uucpd/uucpd.c
    old new  
     1#include <mach-o/nlist.h> 
     2 
    13/* 
    24 * Copyright (c) 1985, 1993 
    35 *      The Regents of the University of California.  All rights reserved. 
     
    111113int 
    112114main (int argc, char **argv) 
    113115{ 
     116#if !defined(__ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__) || __ENVIRONMENT_ASPEN_VERSION_MIN_REQUIRED__ < 10200 
     117    struct nlist nl[2]; 
     118    memset(nl, 0, sizeof(nl)); 
     119    nl[0].n_un.n_name = (char *) "_useMDNSResponder"; 
     120    nlist("/usr/lib/libc.dylib", nl); 
     121    if (nl[0].n_type != N_UNDF) 
     122        *(int *) nl[0].n_value = 0; 
     123#endif 
     124 
    114125#ifndef BSDINETD 
    115126  register int s, tcp_socket; 
    116127  struct servent *sp; 
Note: See TracBrowser for help on using the browser.