Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.unix.programmer > #1044

Re: Unix Domain Socket

From Volker Birk <bumens@dingens.org>
Newsgroups comp.unix.programmer
Subject Re: Unix Domain Socket
Date 2011-08-01 15:14 +0000
Organization [ posted via ] IN-Ulm
Message-ID <j16fslU93oL1@news.in-ulm.de> (permalink)
References <56566d5a-ab99-4729-b8b3-e9a294b38e0a@j14g2000prn.googlegroups.com>

Show all headers | View raw


noneinwind <warmyouth@gmail.com> wrote:
> In this example, the struct "un" is cleared twice.
> So, is "un" of no use after "bind" is called successfully?

In this simple example "un" seems to be used twice, for two different
addresses. It's just reused. The programmer could have used two structs
instead of one.

And yes, after bind() it's not of great use any more in this example
code.

Yours,
VB.
-- 
Wenn Du für eine Leistung nichts bezahlst,
bist Du nicht der Kunde, sondern die Ware.

Back to comp.unix.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Unix Domain Socket noneinwind <warmyouth@gmail.com> - 2011-08-01 06:50 -0700
  Re: Unix Domain Socket Volker Birk <bumens@dingens.org> - 2011-08-01 15:14 +0000
    Re: Unix Domain Socket noneinwind <warmyouth@gmail.com> - 2011-08-02 05:44 -0700
      Re: Unix Domain Socket Ben Bacarisse <ben.usenet@bsb.me.uk> - 2011-08-02 14:21 +0100
    Re: Unix Domain Socket wy <warmyouth@gmail.com> - 2011-08-03 19:35 -0700
      Re: Unix Domain Socket Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-08-04 12:15 +0100
  Re: Unix Domain Socket Nobody <nobody@nowhere.com> - 2011-08-02 03:52 +0100
    Re: Unix Domain Socket Nicolas George <nicolas$george@salle-s.org> - 2011-08-02 08:58 +0000
    Re: Unix Domain Socket Rainer Weikusat <rweikusat@mssgmbh.com> - 2011-08-02 12:21 +0100

csiph-web