Newsgroups: fj.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!tweedledum!rainbow!orange00.jed.uec.ac.jp!shimaz-n
From: shimaz-n@jed.uec.ac.jp (Shimazaki Naoto)
Subject: Re: tuushin
In-Reply-To: tnogu@aqua.cc.kyushu-u.ac.jp's message of 25 Sep 1996 04:24:50 GMT
Message-ID: <SHIMAZ-N.96Sep27162045@orange00.jed.uec.ac.jp>
Originator: news@orange00.jed.uec.ac.jp
Sender: news@jed.uec.ac.jp (Usenet News System)
Nntp-Posting-Host: orange00.jed.uec.ac.jp
Organization: Department of Computer Science and Information Mathematics, The
	University of Electro-Communications
References: <529u2j$hjk@inunaki.csce.kyushu-u.ac.jp>
	<MANMOS.96Sep25113255@antares.stellar.co.jp>
	<52ac6j$l2p@inunaki.csce.kyushu-u.ac.jp>
Date: Fri, 27 Sep 1996 07:21:45 GMT
Lines: 30
Xref: galaxy.trc.rwcp.or.jp fj.unix:6121
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.unix&nb=6121&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

$BEg:j!wEEDLBg$G$9!#(B

In article <52ac6j$l2p@inunaki.csce.kyushu-u.ac.jp>, tnogu@aqua.cc.kyushu-u.ac.jp (noguti takashi) writes:
$B!J$5$C$/$jN,!K(B

>    $B$H$j$"$($:!"$3$3$NLdBj!)$O!"$J$s$H$+$J$j$^$7$?!#(B
>   $B0J2<$N$h$&$K6/0z$K7?JQ49$r9T$J$($P$$$$$h$&$G$9!#(B

>   struct sockaddr_in me;
  
>   bind(fd,(struct sockaddr *)&me,sizeof(me));

$B6/0z$G$O$J$/$F!"$3$l$G@52r$G$9!#$@$C$F!"(Bbind $B$NBhFs0z?t$O(B
Unix $B%I%a%$%s$d(B AX.25 $B$d(B IPX $B$d(B Appletalk $B$d$=$NB>$N%W%m%H%3%k$N(B
$B$?$a$N(B struct sockaddr_hogehoge* $B$b<u$1F~$l$i$l$k$h$&$K$J$C$F(B
$B$$$k$N$G$9$+$i!#(B

$B4X78$"$j$^$;$s$,(B

  if (bind(fd, (struct sockaddr*) &me, sizeof(me)) < 0) {
    perror("bind");
    exit(1);
  }

$B$+$J$s$+$7$F$*$$$?J}$,$h$jNI$$$G$9$M!#(B

--
---
$BEg:j(B $BD>?M(B  $BEE5$DL?.Bg3X(B $B>pJs9)3X2J(B
e-mail:shimaz-n@jed.uec.ac.jp
