Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2002 15:06:04 +0400
From:      Den <info@volginfo.ru>
To:        freebsd-questions@FreeBSD.ORG
Subject:   trpt: /no namelist
Message-ID:  <200209051506.04975.info@volginfo.ru>

next in thread | raw e-mail | index | archive | help
I want to try trpt=20
what should I do to use it?

error message:
% trpt -p cce454e0
trpt: /kernel: no namelist

program listing:
        int sock;
        struct sockaddr_in sin;

        sin.sin_family =3D AF_INET;
        sin.sin_port =3D htons(LISTEN_PORT);
        sin.sin_addr.s_addr =3D htonl(LISTEN_ADDR);

        sock =3D socket(AF_INET, SOCK_STREAM, 0);
        setsockopt(sock, SOL_SOCKET, SO_DEBUG, NULL, NULL);
        bind (sock, (struct sockaddr *)&sin, sizeof(sin));
        listen(sock, 1);
        accept(sock, NULL, NULL);


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209051506.04975.info>