IP L09( Tue) : Time-stamp: Tue 14:52 JST hig TCP/IP. IP,,,. ( ) L09 IP (2017) 1 / 28

Size: px
Start display at page:

Download "IP L09( Tue) : Time-stamp: Tue 14:52 JST hig TCP/IP. IP,,,. ( ) L09 IP (2017) 1 / 28"

Transcription

1 L09( Tue) : Time-stamp: Tue 14:52 JST hig TCP/IP. IP,,,. L09 (2017) 1 / 28

2 9, IP, - L09 (2017) 2 / 28

3 C (ex. ) 1 TCP/IP 2 3 ( ) ( L09 (2017) 3 / 28

4 50+5, ( )50+5. ( ) I trial, ,, trial,, : 35 : e.,, or ( ), 5 (. ).., ( ). L09 (2017) 4 / 28

5 : : = (3 ): :.,, C. L09 (2017) 5 / 28

6 : hig : (1-502), 4(1-502) Web : ( QR ),. L09 (2017) 6 / 28

7 hig3.net Learn Math Moodle (LMS) Learn Math Moodle ( ) Ryukoku Applied Math Mahara (e ) RaMMahara, 10,, (2017). Web 9,, (2017)., Linux 15,, L09 (2017) 7 / 28

8 ? A ABC, B( 1 A) ABC. C?,. a.out ABC, b.out ABC. L09 (2017) 8 / 28

9 , IP, 9, IP, - L09 (2017) 9 / 28

10 , IP, OSI TCP/UDP IP, WiFi TCP/IP=Transport Control Protocol / Internet Protocol? :?? L09 (2017) 10 / 28

11 , IP,, IP,, ( )? IP IP address (IPv4) IP 1 1 ( ), 8 ( ) , IP. L09 (2017) 11 / 28

12 , IP, IANA.. IP IP :, ( ). IP : ( ) DHCP: IP IP address (IPv6) , 16, 2001:DB8:0:0:8:800:200C:417A ( ) 2001:DB8::8:800:200C:417A. IP? IPv4, IPv6 10 n? L09 (2017) 12 / 28

13 , IP, hostname FQDN=Fully Qualified Domain Name IP 1 1. : sirius.ws.ryukoku.ac.jp sirius ( ) ws.ryukoku.ac.jp ( ), sirius.ws.ryukoku.ac.jp FQDN., (IP ).,,. ICANN, JPNIC,. L09 (2017) 13 / 28

14 , IP,, IP,, localhost.. ( ) example.com, example.co.jp,... ( ) IP Linux / 1 % i f c o n f i g / I P 2 % h o s t www. ryukoku. ac. j p / > I P / 3 % h o s t / < I P / L09 (2017) 14 / 28

15 , IP, port well-known port numbers (= ). IANA. ( ) IANA ( ). 1., 2.,,... : FQDN IP, cache.st.ryukoku.ac.jp:8080 L09 (2017) 15 / 28

16 9, IP, - L09 (2017) 16 / 28

17 : Web -Web L09 (2017) 17 / server ( ). client.. TCP/IP /.. ( ) (hostname:port) (service) (request, ). (response, ).. ( )

18 - 9, IP, - L09 (2017) 18 / 28

19 -?, Web OK., Web. 1: daytime 1 #i n c l u d e <s t d i o. h> 2 #i n c l u d e <s t r i n g. h> / memset / 3 #i n c l u d e <s y s / s o c k e t. h> / s o c k e t, c o n n e ct / 4 #i n c l u d e <arpa / i n e t. h> / htons / 5 #i n c l u d e <n e t i n e t / i n. h> / htons, i n e t a d d r / 6 #i n c l u d e <u n i s t d. h> / c l o s e s i z e o f / 7 8 #d e f i n e SERVER ADDR #d e f i n e SERVER PORT #d e f i n e BUFFERSIZE i n t main ( ) { i n t s ; L09 (2017) 19 / 28

20 - 15 s t r u c t s o c k a d d r i n sa ; 16 i n t count ; 17 char buf [ BUFFERSIZE ] ; / / 20 s = s o c k e t ( AF INET, SOCK STREAM, 0 ) ; / : / 23 memset(&sa, 0, s i z e o f ( sa ) ) ; 24 sa. s i n f a m i l y=af INET ; 25 sa. s i n p o r t=htons (SERVER PORT ) ; 26 sa. s i n a d d r. s a d d r=i n e t a d d r (SERVER ADDR ) ; / = open / 29 connect ( s, ( s t r u c t s o c k a d d r )& sa, s i z e o f ( sa ) ) ; / s c a n f / 32 count=r e c v ( s, buf, BUFFERSIZE 1, 0 ) ; / / 35 buf [ count ]= \0 ; L09 (2017) 20 / 28

21 - 36 p r i n t f ( %s, buf ) ; / c l o s e / 39 shutdown ( s, SHUT RDWR ) ; 40 c l o s e ( s ) ; r e t u r n 0 ; } sizeof int x;, sizeof (int), sizeof x ( ) sizeof(char)==1 L09 (2017) 21 / 28

22 - /etc/services IETF RFC=Request for Comment (IETF ).,,. L09 (2017) 22 / 28

23 -? ( ) fopen socket fopen connect / fscanf,fprintf recv,send fclose shutdown fclose close fopen-fscanf-fclose, open-read-close. L09 (2017) 23 / 28

24 - 1 #i n c l u d e <s y s / t y p e s. h> 2 #i n c l u d e <s y s / s o c k e t. h> 3 4 i n t s o c k e t ( i n t f a m i l y, i n t type, i n t p r o t o c o l ) ; 5 /, / 6 7 i n t connect ( i n t sockfd, s t r u c t s o c k a d d r a d d r e s s, i n t a d d r l e n 8 / s o c k f d, 9 a d d r e s s 10 / i n t r e c v ( i n t sockfd, char buf, i n t len, i n t f l a g s ) ; 13 / b u f, l e n / 14 /. 0, 1 / i n t send ( i n t sockfd, char buf, i n t len, i n t f l a g s ) ; 17 / b u f, l e n / 18 /. 1 / L09 (2017) 24 / 28

25 - 1 #i n c l u d e <s y s / s o c k e t. h> 2 i n t shutdown ( i n t sockfd, i n t how ) ; 1 #i n c l u d e <u n i s t d. h> 2 i n t c l o s e ( i n t s o c k e t f d ) ;.,., ( ) man. 1 % man s o c k e t 2 % man k s o c k e t 3 % man 2 s o c k e t 2, 1. 1 % grep c o n nect / u s r / i n c l u d e /. h / u s r / i n c l u d e / s y s /. h L09 (2017) 25 / 28

26 - : IP, :. in = Internet 1 #i n c l u d e <n e t i n e t / i n. h> / / u s r / i n c l u d e / n e t i n e t / i n. h / 2 3 s t r u c t s o c k a d d r i n { 4 / / 5 s a f a m i l y t s i n f a m i l y ; / / 6 i n p o r t t s i n p o r t ; / / 7 s t r u c t i n a d d r s i n a d d r ; / I P / 8 char s i n z e r o [ 8 ] ; / / 9 } s t r u c t i n a d d r { 12 i n a d d r t s a d d r ; / 16 I P / 13 } sock_addr socket.h. /usr/include/*/sys/socket.h L09 (2017) 26 / 28

27 - 1 / I P, 32, 2 long i n e t a d d r ( char d o t i p ) ; 3 char i n e t n t o a ( long i n t e g e r i p ) ; ntohl, htonl, ntohs, htons (x86 ) ( ). network to host, long/short II L09 (2017) 27 / 28

28 (1-502), 4(1-502) L10, Learn Math Moodle,. L09 (2017) 28 / 28

29 L10( Tue) : Time-stamp: Thu 06:54 JST hig., make recv/send L10 (2017) 1 / 21

30 I swallow.math.ryukoku.ac.jp:13 = :13 = : ( = ) (well-known ports), :. :,. socket, connect, recv/send, shutdown, close. L10 (2017) 2 / 21

31 9 10 Makefile L10 (2017) 3 / 21

32 daytime :,, Sun 13:27. RFC Protocol ( ).. TCP, IP, HTTP P Protocol P. HTTP penguin count, (c), c Adelie Penguins!. Penguins!., : echo : http(s).,, Web API. L10 (2017) 4 / 21

33 ( ) 1 #i n c l u d e <s t d i o. h> 2 #i n c l u d e <s t r i n g. h> / memset / 3 #i n c l u d e <s y s / s o c k e t. h> / s o c k e t, c o n n e ct / 4 #i n c l u d e <arpa / i n e t. h> / htons / 5 #i n c l u d e <n e t i n e t / i n. h> / htons, i n e t a d d r / 6 #i n c l u d e <u n i s t d. h> / c l o s e s i z e o f / 7 #i n c l u d e < s t d l i b. h> 8 9 #d e f i n e SERVER ADDR #d e f i n e SERVER PORT #d e f i n e BUFFERSIZE i n t main ( ) { i n t s ; 16 s t r u c t s o c k a d d r i n sa ; 17 i n t count ; 18 char r e c v b u f [ BUFFERSIZE ] ; L10 (2017) 5 / 21

34 19 char s e n d b u f []= count something. ; 20 i n t s t a t u s ; / / 23 s = s o c k e t ( AF INET, SOCK STREAM, 0 ) ; 24 i f ( s== 1 ){ 25 p e r r o r ( s o c k e t ) ; 26 e x i t ( 1 ) ; 27 } / : / 30 memset(&sa, 0, s i z e o f ( sa ) ) ; 31 sa. s i n f a m i l y=af INET ; 32 sa. s i n p o r t=htons (SERVER PORT ) ; 33 sa. s i n a d d r. s a d d r=i n e t a d d r (SERVER ADDR ) ; / = open / 36 s t a t u s=c o n nect ( s, ( s t r u c t s o c k a d d r )& sa, s i z e o f ( sa ) ) ; 37 i f ( s t a t u s == 1){ 38 p e r r o r ( penguin connect ) ; 39 e x i t ( 1 ) ; L10 (2017) 6 / 21

35 40 } / p r i n t f / 43 count=send ( s, sendbuf, s t r l e n ( s e n d b u f ), 0 ) ; 44 i f ( count== 1 ){ 45 p e r r o r ( penguin send ) ; 46 e x i t ( 1 ) ; 47 } / s c a n f / 50 count=r e c v ( s, r e c v b u f, BUFFERSIZE 1, 0 ) ; 51 i f ( count== 1 ){ 52 p e r r o r ( penguin r e c v ) ; 53 e x i t ( 1 ) ; 54 } / / 57 r e c v b u f [ count ]= \0 ; 58 p r i n t f ( %s, r e c v b u f ) ; / c l o s e / L10 (2017) 7 / 21

36 61 62 s t a t u s=shutdown ( s, SHUT RDWR ) ; 63 i f ( s t a t u s == 1){ 64 p e r r o r ( penguin shutdown ) ; 65 e x i t ( 1 ) ; 66 } s t a t u s=c l o s e ( s ) ; 69 i f ( s t a t u s == 1){ 70 p e r r o r ( penguin c l o s e ) ; 71 } r e t u r n 0 ; 74 } L10 (2017) 8 / 21

37 9 10 Makefile L10 (2017) 9 / 21

38 ex. syntax error ex. segmentation fault,. : return,,., stdlib.h void exit(int status),, OS. 0.. L10 (2017) 10 / 21

39 socket, connect, recv, send., OS II ( OS Linux ) / (Linux).,,, perror(3), man 3 perror, (, ) L10 (2017) 11 / 21

40 perror perror( );,, errno + + : + stderr. 1 #i n c l u d e <s t d i o. h> 2 void p e r r o r ( char s ) ; perror(3), (if-then),, #include <errno.h>, int errno, char *sterror(int errno). perror.,,. fprintf ( stderr, something ) ( II) L10 (2017) 12 / 21

41 s=s o c k e t (... ) ; i f ( s== 1){ / ; / } / s, s o c k e t ( 2 ) / / s o c k e t ( i f ( s o c k e t (...)== 1 ){ / ; /} / s o c k e t s / i f ( ( s=s o c k e t (... ) ) == 1 ){ / ; /} (a=f())==2., a=(f()==2), a 0 1 ( if ) C,, i f ( 1==do something ( ) ) d i e ( ) ;. OR. Get up or you will be late. ( ( 1==do something ( ) ) ( d i e ( ) ) ) ; exception( ), try-catch in Java (3 ) L10 (2017) 13 / 21

42 Makefile 9 10 Makefile L10 (2017) 14 / 21

43 Makefile Makefile,, 1 i f ( ()== ){ 2 p e r r o r ( ) ; 3 e x i t ( 1 ) ; 4 }. + +Makefile ( ) 1 p e r r o r ( ) ; 2 e x i t ( 1 ) ;, void die(char message). die.h, die.c, Makefile. Refactoring ( ),,, L10 (2017) 15 / 21

44 9 10 Makefile L10 (2017) 16 / 21

45 telnet telnet(1), nc(1) t e l n e t nc C host port host port,. telnet Control ], quit + Enter. nc Control C. t e l n e t www. a. math. ryukoku. ac. j p 80 GET /, Web URL 80? m L10 (2017) 17 / 21

46 t e l n e t www. math. ryukoku. ac. j p 80 #a r g v [ 0 ] a r g v [ 1 ] a r g v [ 2 ] a r g c= ( 1, 2).,, man., -c, --help -,. t a i l penguin c l i e n t. c t a i l 30 penguin c l i e n t. c t a i l r 30 penguin c l i e n t. c L10 (2017) 18 / 21

47 C main i n t main ( i n t argc, char a r g v ){... } argc.. argv ( )., argv[0] t e l n e t \0 argv[1] w w w. m a t \0 argv[2] 8 0 \0 L10 (2017) 19 / 21

48 1 #i n c l u d e <s t d i o. h> 2 #i n c l u d e <s t r i n g. h> 3 #d e f i n e BUFSIZE i n t main ( i n t argc, char a r g v ){ 6 char message [ BUFSIZE ] ; 7 char a n d s t r i n g []= and ; 8 9 s t r c p y ( message, a r g v [ 1 ] ) ; 10 s t r c a t ( message, a n d s t r i n g ) ; 11 s t r c a t ( message, a r g v [ 2 ] ) ; / f o r t e s t / 14 / p r i n t f ( %c \n, a r g v [ 0 ] [ 0 ] ) ; / 15 / p r i n t f ( %c \n, a r g v [ 0 ] [ 1 ] ) ; / 16 / p r i n t f ( % s \n, a r g v [ 0 ] ) ; / p r i n t f ( %s \n, message ) ; r e t u r n 0 ; 21 } L10 (2017) 20 / 21

49 (1-502), 4(1-502) L11.,,, Learn Math Moodle,. L10 (2017) 21 / 21

エラー処理・分割コンパイル・コマンドライン引数

エラー処理・分割コンパイル・コマンドライン引数 L10(2017-12-05 Tue) : Time-stamp: 2017-12-17 Sun 11:59 JST hig. recv/send http://hig3.net ( ) L10 (2017) 1 / 21 IP I swallow.math.ryukoku.ac.jp:13 = 133.83.83.6:13 = : IP ( = ) (well-known ports), :. :,.

More information

Makefile, TCPソケットサーバ, コマンドライン引数

Makefile, TCPソケットサーバ, コマンドライン引数 L11(2017-12-12 Tue) : Time-stamp: 2017-12-22 Fri 12:28 JST hig ( ) make http://hig3.net L11 (2017) 1 / 24 I, void die(char message) void die(char message[])... 1 #i n c l u d e 2 / / 3 double

More information

TCP/IP Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.3 Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.4 2

TCP/IP Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.3 Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.4 2 Japan Registry Service Co., Ltd. JPRS matuura@jprs.co.jp Internet Week 2002 [2002/12/17] Japan Registry Service Co., Ltd. No.1 TCP IP DNS Windows Internet Week 2002 [2002/12/17] Japan Registry Service

More information

untitled

untitled 2 1 Web 3 4 2 5 6 3 7 Internet = Inter Network 8 4 B B A B C A B C D D 9 A G D G F A B C D F D C D E F E F G H 10 5 11 Internet = Inter Network PC 12 6 1986 NSFNET 1995 1991 World Wide Web 1995 Windows95

More information

実験 6 通信基礎実験 1 目的 ネットワークを通じてデータ転送を行うことを体験的に学ぶために 本実験ではT CP/IPプロトコルを使い ワークステーション間で通信を行うクライアントサーバモデルのプログラムを作成する 2 解説 1 ネットワークとプロトコルネットワーク ( コンピュータネットワーク

実験 6 通信基礎実験 1 目的 ネットワークを通じてデータ転送を行うことを体験的に学ぶために 本実験ではT CP/IPプロトコルを使い ワークステーション間で通信を行うクライアントサーバモデルのプログラムを作成する 2 解説 1 ネットワークとプロトコルネットワーク ( コンピュータネットワーク 実験 6 通信基礎実験 1 目的 ネットワークを通じてデータ転送を行うことを体験的に学ぶために 本実験ではT CP/IPプロトコルを使い ワークステーション間で通信を行うクライアントサーバモデルのプログラムを作成する 2 解説 1 ネットワークとプロトコルネットワーク ( コンピュータネットワーク ) とは2 台以上のコンピュータが何らかの線でつながったものである しかし 線で接続されているだけではコンピュータ間で通信を行うことが出来ず

More information

ランダムウォークの確率の漸化式と初期条件

ランダムウォークの確率の漸化式と初期条件 B L03(2019-04-25 Thu) : Time-stamp: 2019-04-25 Thu 09:16 JST hig X(t), t, t x p(x, t). p(x, t). ( ) L03 B(2019) 1 / 25 : L02-Q1 Quiz : 1 X(3) = 1 10 (3 + 3 + + ( 3)) = 1., E[X(3)] 1. 2 S 2 = 1 10 1 ((3

More information

データの分布

データの分布 I L01(2016-09-22 Thu) : Time-stamp: 2016-09-27 Tue 11:12 JST hig e LINE@, 4, http://hig3.net () L01 I(2016) 1 / 20 ? 1? 2? () L01 I(2016) 2 / 20 ?,,.,., 1..,. (,, 1, 2 ),.,. () L01 I(2016) 3 / 20 ? I.

More information

untitled

untitled RPC (( Remote Procedure Call (RPC: Message-Oriented Middleware (MOM) data-streaming =(protocol) A B A B Connection protocol = connection oriented protocol TCP (Transmission Control Protocol) connectionless

More information

2 1: OSI OSI,,,,,,,,, 4 TCP/IP TCP/IP, TCP, IP 2,, IP, IP. IP, ICMP, TCP, UDP, TELNET, FTP, HTTP TCP IP

2 1: OSI OSI,,,,,,,,, 4 TCP/IP TCP/IP, TCP, IP 2,, IP, IP. IP, ICMP, TCP, UDP, TELNET, FTP, HTTP TCP IP 1.,.. 2 OSI,,,,,,,,, TCP/IP,, IP, ICMP, ARP, TCP, UDP, FTP, TELNET, ssh,,,,,,,, IP,,, 3 OSI OSI(Open Systems Interconnection: ). 1 OSI 7. ( 1) 4 ( 4),,,,.,.,..,,... 1 2 1: OSI OSI,,,,,,,,, 4 TCP/IP TCP/IP,

More information

1) // 2) I/O 3) Japan Advanced Institute of Science and Technology 2013/07/26 1

1) // 2) I/O 3) Japan Advanced Institute of Science and Technology 2013/07/26 1 I441 2013/07/26 Dependable Network Innovation Center, Japan Advanced Institute of Science and Technology 1) // 2) I/O 3) Japan Advanced Institute of Science and Technology 2013/07/26 1 1) Comer: Internetworking

More information

3 3.1 LAN ISDN (IP) 2 TCP/UDP IP IP IP IP (Ethernet) Ethernet LAN TCP/UDP LAN Ethernet LAN 2: Ethernet ATM, FDDI, LAN IP IP IP 3 IP 2 IP IP IP IP IP 3

3 3.1 LAN ISDN (IP) 2 TCP/UDP IP IP IP IP (Ethernet) Ethernet LAN TCP/UDP LAN Ethernet LAN 2: Ethernet ATM, FDDI, LAN IP IP IP 3 IP 2 IP IP IP IP IP 3 IP 1 (IP) TCP/IP 1 2 2 1 LAN IP C IP 192.168.0.101 192.168.0.104 HUB 100Base-TX 100Mbps UTP Ethernet HUB 192.168.0.101 192.168.0.102 192.168.0.103 192.168.0.104 1: 6 1 3 3.1 LAN ISDN (IP) 2 TCP/UDP IP

More information

IP 2.2 (IP ) IP 2.3 DNS IP IP DNS DNS 3 (PC) PC PC PC Linux(ubuntu) PC TA 2

IP 2.2 (IP ) IP 2.3 DNS IP IP DNS DNS 3 (PC) PC PC PC Linux(ubuntu) PC TA 2 IP 2010 10 1 1 IP (IP ) 2 IP IP 2.1 IP (IP ) 1 IP 2.2 (IP ) IP 2.3 DNS IP IP DNS DNS 3 (PC) PC PC PC Linux(ubuntu) PC TA 2 4 1,2 4.1 (Protocol) IP:Internet Protocol) 4.2 internet The Internet (internet)

More information

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÆÃÏÀ

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÆÃÏÀ 2 : TCP/IP : HTTP HTTP/2 1 / 22 httpget.txt: http.rb: ruby http get Java http ( ) HttpURLConnection 2 / 22 wireshark httpget.txt httpget cookie.txt ( ) telnet telnet localhost 80 GET /index.html HTTP/1.1

More information

NetLec17TCPIP1.ppt

NetLec17TCPIP1.ppt 大阪市立大学創造都市研究科ネットワークシステム概論 3 帝塚山学院大学情報メディア学科教授大阪市立大学名誉教授 堺市情報セキュリティアドバイザ 中野秀男 [ 検索 ] ネットワークシステム概論 1 今日の話 TCP/IP までの世界 プロセス間通信 プロトコル TCP/IP のポイント OSI IP アドレスと DNS IP アドレス ポート番号 議論 ネットワークシステム概論 2 TCP/IP までの世界

More information

r4.dvi

r4.dvi 16 4 2016.5.11 1 1.1 :? PC LAN Web?? ( ) [4] [5] my PC [2] congested service [1]? [3] 1: LAN LAN ( )[1] LAN ( ) PC ( )[2] Web ( )[3] ping ( ) ( )[4] SSL ( ) ( / / )[5] 1 1.2 (multiple layered-structure)

More information

para02-2.dvi

para02-2.dvi 2002 2 2002 4 23 : MPI MPI 1 MPI MPI(Message Passing Interface) MPI UNIX Windows Machintosh OS, MPI 2 1 1 2 2.1 1 1 1 1 1 1 Fig. 1 A B C F Fig. 2 A B F Fig. 1 1 1 Fig. 2 2.2 Fig. 3 1 . Fig. 4 Fig. 3 Fig.

More information

疎な転置推移確率行列

疎な転置推移確率行列 B E05(2019-05-15 Tue) : Time-stamp: 2019-05-17 Fri 16:18 JST hig http://hig3.net ( ) E05 B(2019) 1 / 11 x = 0,..., m 1 m. p(t), p(x, t) 1 double p [m] = { 1. 0, 0. 0,...., 0. 0 } ; /. m. / 2 / {p ( 0,

More information

double float

double float 2015 3 13 1 2 2 3 2.1.......................... 3 2.2............................. 3 3 4 3.1............................... 4 3.2 double float......................... 5 3.3 main.......................

More information

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l C/C++ 2007 6 18 1 C STL(1) 2 1.1............................................... 2 1.2 stdio................................................ 3 1.3.......................................... 10 2 11 2.1 sizeof......................................

More information

main main Makefile Makefile C.5 Makefile Makefile Makefile A Mech (TA ) 1. Web (http://www.jsk.t.u-tokyo.ac.jp/ iku

main main Makefile Makefile C.5 Makefile Makefile Makefile A Mech (TA ) 1. Web (http://www.jsk.t.u-tokyo.ac.jp/ iku 2008 (mizuuchi@i.u-tokyo.ac.jp) http://www.jsk.t.u-tokyo.ac.jp/ http://www.jsk.t.u-tokyo.ac.jp/ ikuo/enshu/keisanki/ 2008 5 19 6 24 1 2 2.1 my_sound.c, my_sounc.h, play.c, record.c 2 2. 2.2 2.2.1 main

More information

Microsoft Windows, Windows CE, Microsoft Corporation Citrix ICA Citrix Presentation Server Citrix Systems, Inc IBM IBM Corporation

Microsoft Windows, Windows CE, Microsoft Corporation Citrix ICA Citrix Presentation Server Citrix Systems, Inc IBM IBM Corporation CE(Windows CE) Version 2.0.1 Microsoft Windows, Windows CE, Microsoft Corporation Citrix ICA Citrix Presentation Server Citrix Systems, Inc IBM IBM Corporation 2.0.1 2009 1 2009 2 APTi (CE ) APTi (CE )

More information

<Documents Title Here>

<Documents Title Here> Oracle Application Server 10g Release 2 (10.1.2) for Microsoft Windows Business Intelligence Standalone Oracle Application Server 10g Release 2 (10.1.2) for Microsoft Windows Business Intelligence Standalone

More information

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B A/B (2018/10/19) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 10 19 A/B 1 2018 10 19 2 1 1 1.1 OHP.................................... 1

More information

55 7 Java C Java TCP/IP TCP/IP TCP TCP_RO.java import java.net.*; import java.io.*; public class TCP_RO { public static void main(string[] a

55 7 Java C Java TCP/IP TCP/IP TCP TCP_RO.java import java.net.*; import java.io.*; public class TCP_RO { public static void main(string[] a 55 7 Java C Java TCP/IP TCP/IP 7.1 7.1.1 TCP TCP_RO.java import java.net.*; import java.io.*; public class TCP_RO { public static void main(string[] argv) { Socket readsocket = new Socket(argv[0], Integer.parseInt(argv[1]));

More information

Oracle Application Server 10g( )インストール手順書

Oracle Application Server 10g( )インストール手順書 Oracle Application Server 10g (10.1.2) for Microsoft Windows J2EE Oracle Application Server 10g (10.1.2) for Microsoft Windows J2EE and Web Cache...2...3...3...4...6...6...6 OS...9...10...12...13...25...25

More information

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV tutimura@mist.i.u-tokyo.ac.jp kaneko@ipl.t.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 11 20 p.1/34 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20

More information

演算増幅器

演算増幅器 ネットワークプログラミング ( 教科書 p.247-312) これまでに作成したプログラムは 1 台のコンピュータ上で動作するものだった 本日はネットワーク上の別のコンピュータで実行しているプログラムと通信をしながら動作するプログラムの作成方法について学ぶ ネットワークプログラミングを高度に使いこなすためには 関連する知識は幅広く求められる 本日からの学習では単純なチャット ( 会話 ) を行うプログラムを題材として

More information

GA-1190J

GA-1190J GA-1190J 1 1. 2. 3. 4. 2 5. 3 PDF 4 PDF PDF PDF PDF PDF PDF PDF PDF 5 6 ...1...2...4 1...12 2...16...18 3...22 PCL/PS...23 4...26 5...30 ETHERNET...31 TCP/IP...33 IPX/SPX...38 AppleTalk...40 HTTP...42

More information

1.ppt

1.ppt /* * Program name: hello.c */ #include int main() { printf( hello, world\n ); return 0; /* * Program name: Hello.java */ import java.io.*; class Hello { public static void main(string[] arg)

More information

1

1 ITS 14 6 ITS 1)...1 2) ITS...1 3) ITS...2 4)...3 5)...4 1. ITS 1.1....5 1.2....7 1.3. ITS...8 2. ITS 2.1....10 2.2....15 2.3....16 3. 3.1....18 3.2....23 3.3....29 3.4....35 4. 4.1....45 4.2....51 http://www.internetits.org/

More information

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( )

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) 2008 3 10 1 mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) stream FILE ( man ) 40 ( ) %./a.out String : test

More information

untitled

untitled FutureNet Microsoft Corporation Microsoft Windows Windows 95 Windows 98 Windows NT4.0 Windows 2000, Windows XP, Microsoft Internet Exproler (1) (2) (3) COM. (4) (5) ii ... 1 1.1... 1 1.2... 3 1.3... 6...

More information

AirMac ネットワーク構成の手引き

AirMac ネットワーク構成の手引き AirMac 1 1 5 6 AirMac 6 7 AirMac Extreme AirMac Express 7 AirMac 8 AirMac Express 8 AirMac 9 AirMac 10 AirTunes 10 AirMac Extreme AirMac Express 10 2 13 15 Mac OS X IP 16 Mac OS X AirMac 3 17 AirMac 17

More information

install

install SCore SCore 5.0 2001.03.19 devel@pccluster.org SCore Backbone LAN Ethernet EEPRO100 Myrinet-2000 Fibre 02/03/20 2 1 NIC (Network Interface Card) NIC 100Mbps Ethernet EEPRO100 Tulip 3C905B Network Trunking

More information

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology I117 8 1 School of Information Science, Japan Advanced Institute of Science and Technology : CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and

More information

1 Linux UNIX-PC LAN. UNIX. LAN. UNIX. 1.1 UNIX LAN. 1.2 Linux PC Linux. 1.3 studenta odd kumabari studentb even kumabari studentc odd kumabari student

1 Linux UNIX-PC LAN. UNIX. LAN. UNIX. 1.1 UNIX LAN. 1.2 Linux PC Linux. 1.3 studenta odd kumabari studentb even kumabari studentc odd kumabari student LAN 0000000000 6/6, 6/13, 6/20 1 Linux UNIX-PC LAN. UNIX. LAN. UNIX. 1.1 UNIX LAN. 1.2 Linux PC Linux. 1.3 studenta odd kumabari studentb even kumabari studentc odd kumabari studentd even kumabari 1: LAN

More information

A/B WWW MTA/MSP sendmail POP/IMAP apache WWW 1 1 sendmail uw imap apache WWW host host subnet1: /24 IF1: router & server mail and

A/B WWW MTA/MSP sendmail POP/IMAP apache WWW 1 1 sendmail uw imap apache WWW host host subnet1: /24 IF1: router & server mail and A/B WWW MTA/MSP sendmail POP/IMAP apache WWW 1 1 sendmail uw imap apache WWW host host subnet1: 192.168.1/24 IF1:192.168.1.1 router & server mail and WWW IF2:192.168.0.32 subnet2: 192.168.0/24 1: 1 2 iep.sie.dendai.ac.jp

More information

AirMac ネットワーク for Windows

AirMac ネットワーク for Windows AirMac for Windows Windows XP Windows 2000 1 1 5 6 AirMac 6 7 AirMac Extreme AirMac Express 7 AirMac for Windows 7 AirMac Express 8 AirMac 9 AirTunes 9 AirMac Extreme 10 2 11 AirMac 11 AirMac 12 AirMac

More information

wide90.dvi

wide90.dvi 12 361 1 (CPU ) Internet TCP/IP TCP/IP TCP/IP Internet ( ) (IP ) ( ) IP 363 364 1990 WIDE IP Internet IP IP ( ) IP Internet IP Internet IP IP IP IP IP IP IP Internet Internet 1.1 2 Internet Internet Internet

More information

ict2-.key

ict2-.key IP TCP TCP/IP 1) TCP 2) TCPIP 3) IPLAN 4) IP パケット TCP パケット Ethernet パケット 発信元 送信先 ヘッダ 列番号 ポート番号 TCP パケットのデータ IP パケットのデータ 本当に送りたいデータ データ IP ヘッダデータ部ヘッダデータ部ヘッダデータ部 Ethernet パケット Ethernet パケット Ethernet パケット

More information

1 4 2 6 2.1............................. 6 2.2............................... 6 2.3......................... 7 2.4......................... 7 3 8 3.1

1 4 2 6 2.1............................. 6 2.2............................... 6 2.3......................... 7 2.4......................... 7 3 8 3.1 1 UEC UEC http://www.tnlab.ice.uec.ac.jp/daihinmin/ 20061016 1 4 2 6 2.1............................. 6 2.2............................... 6 2.3......................... 7 2.4.........................

More information

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() 2 double *a[ ]; double 1 malloc() dou

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() 2 double *a[ ]; double 1 malloc() dou 1 1.1 C 2 1 double a[ ][ ]; 1 3x3 0 1 3x3 ( ) 0.240 0.143 0.339 0.191 0.341 0.477 0.412 0.003 0.921 1.2 malloc() 2 double *a[ ]; double 1 malloc() double 1 malloc() free() 3 #include #include

More information

etrust Access Control etrust Access Control UNIX(Linux, Windows) 2

etrust Access Control   etrust Access Control UNIX(Linux, Windows) 2 etrust Access Control etrust Access Control UNIX(Linux, Windows) 2 etrust Access Control etrust Access Control 3 ID 10 ID SU ID root 4 OS OS 2 aaa 3 5 TCP/IP outgoing incoming DMZ 6 OS setuid/setgid) OS

More information

untitled

untitled Power Management Agent - ACE for Windows (PMA-ACE for Win) 2016 2 19 Power Management Agent - ACE for Windows Power Management Agent - ACE for Windows () 2 http://www.isa-j.co.jp 3 1. Power Management

More information

RTX830 取扱説明書

RTX830 取扱説明書 RTX830 JA 1 2 3 4 5 6 7 8 9 10 11 external-memory performance-test go 12 13 show config 14 15 16 17 18 19 20 save 21 22 23 24 25 26 27 save RTX830 BootROM Ver. 1.00 Copyright (c) 2017 Yamaha Corporation.

More information

r08.dvi

r08.dvi 19 8 ( ) 019.4.0 1 1.1 (linked list) ( ) next ( 1) (head) (tail) ( ) top head tail head data next 1: NULL nil ( ) NULL ( NULL ) ( 1 ) (double linked list ) ( ) 1 next 1 prev 1 head cur tail head cur prev

More information

4 実験結果 // 用意されたヘッダファイル #include < stdio.h> #include < fcntl.h> #include < netdb.h> #include < sys/types.h> #include < sys/socket.h> #include < sys/sta

4 実験結果 // 用意されたヘッダファイル #include < stdio.h> #include < fcntl.h> #include < netdb.h> #include < sys/types.h> #include < sys/socket.h> #include < sys/sta 実験 6 通信基礎実験 2 1 目的 ネットワークを通じてデータ転送を行うことを体験的に学ぶために 本実験ではT CP/IPプロトコルを使い ワークステーション間で通信を行うクライアントサーバモデルのプログラムを作成する 今回は文字データだけでなく 音声データも使う事により より実践的なプログラミングを行う 2 解説 前実験と同様なので省略する 3 実験 実験 1で作成したプログラムを利用して マイクから入力した音声信号をサーバへ送信するクライアントプログラムを作成せよ

More information

DA100データアクイジションユニット通信インタフェースユーザーズマニュアル

DA100データアクイジションユニット通信インタフェースユーザーズマニュアル Instruction Manual Disk No. RE01 6th Edition: November 1999 (YK) All Rights Reserved, Copyright 1996 Yokogawa Electric Corporation 801234567 9 ABCDEF 1 2 3 4 1 2 3 4 1 2 3 4 1 2

More information

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() malloc 2 #include <stdio.h> #include

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() malloc 2 #include <stdio.h> #include 1 1.1 C 2 1 double a[ ][ ]; 1 3x3 0 1 3x3 ( ) 0.240 0.143 0.339 0.191 0.341 0.477 0.412 0.003 0.921 1.2 malloc() malloc 2 #include #include #include enum LENGTH = 10 ; int

More information

ohp08.dvi

ohp08.dvi 19 8 ( ) 2019.4.20 1 (linked list) ( ) next ( 1) (head) (tail) ( ) top head tail head data next 1: 2 (2) NULL nil ( ) NULL ( NULL ) ( 1 ) (double linked list ) ( 2) 3 (3) head cur tail head cur prev data

More information

UsersGuide_INR-HG5497c_.doc

UsersGuide_INR-HG5497c_.doc UPS / Web/SNMP VCCI A Web/SNMP... 1.. WEB...1.. SNMP...1.. NETSHUT...1.. 100BASE-TX...1... 2 Web... 4.....5.....7......7......8......9.. UPS...10... UPS...10...13......14......14...15......17......17..

More information

Teradici Corporation #101-4621 Canada Way, Burnaby, BC V5G 4X8 Canada p +1 604 451 5800 f +1 604 451 5818 www.teradici.com Teradici Corporation Teradi

Teradici Corporation #101-4621 Canada Way, Burnaby, BC V5G 4X8 Canada p +1 604 451 5800 f +1 604 451 5818 www.teradici.com Teradici Corporation Teradi PCoIP TER0806003 TER0806003 Issue 2 0 Teradici Corporation #101-4621 Canada Way, Burnaby, BC V5G 4X8 Canada p +1 604 451 5800 f +1 604 451 5818 www.teradici.com Teradici Corporation Teradici Teradici Teradici

More information

2011 NTT Information Sharing Platform Laboratories

2011 NTT Information Sharing Platform Laboratories NGN IPv6 multi-homing uplink load balancing 2 3 4 uplink uplink prefix domain A domain A prefix prefix prefix = longest match domain A domain A DNS Server domain A domain B 5 uplink uplink prefix domain

More information

Oracle Application Server 10g(9

Oracle Application Server 10g(9 Oracle Application Server 10g (9.0.4) for Microsoft Windows J2EE Oracle Application Server 10g (9.0.4) for Microsoft Windows J2EE and Web Cache...2...3...3...4...6...6...6 OS...9...10...12...13...24...24

More information

ex14.dvi

ex14.dvi 1,, 0, b (b b 2 b ) n k n = n j b j, (0 n j b 1), n =(n k n k 1...n 1 n 0 ) b, n j j j +1, 0,...,b 1 (digit). b b, n b 1 ñ, ñ = k (b 1 n j )b j b N, n b n, n = b N n, n =ñ+1 b N, n m n + m (mod b N ),

More information

橡sirahasi.PDF

橡sirahasi.PDF Internet Week 2000 T5 IPsec VPN 2000/12/18 1 Virtual Private Network 2 IPsec 3 IPsec VPN 4 IPsec VPN 2 1 Virtual Private Network 3 Ethernet, WAN PPTP(PPP) IPSec SSL/TLS SOCKS V5 SSH, SSL-Telnet, PET PGP,

More information

IPv4aaSを実現する技術の紹介

IPv4aaSを実現する技術の紹介 : ( ) : (IIJ) : 2003 4 ( ) IPv6 IIJ SEIL DS-Lite JANOG Softwire wg / Interop Tokyo 2013 IIJ SEIL MAP-E 2 IPv4aaS 3 4 IPv4aaS 5 IPv4 1990 IPv4 IPv4 32 IPv4 2 = 42 = IP IPv6 6 IPv6 1998 IPv6 (RFC2460) ICMP6,

More information

Logitec NAS シリーズ ソフトウェアマニュアル

Logitec NAS シリーズ ソフトウェアマニュアル LAS-SFB V05 LAS-RAN LAS-MRN LHD-NAS ... 4... 4... 7... 8 1... 10... 11 1... 12 Windows... 12 Macintosh... 15 2IP... 16 IP Windows... 16 IP Macintosh... 19... 23... 29... 30 Windows Me2000 SMB... 30 Windows

More information

IP IP DHCP..

IP IP DHCP.. NICE 2008 4 14 1 NICE 2 1.1.................... 2 2 3 2.1........................................ 3 2.2....................................... 5 2.3.................................... 6 2.4...................................

More information

Logitec NAS シリーズ ソフトウェアマニュアル

Logitec NAS シリーズ ソフトウェアマニュアル LAS-SFB V03A LAS-RAN LAS-MRN LAS-1UMR LAS-1U LHD-NAS ... 3... 3... 5... 6 1... 8... 9 1... 10 Windows... 10 Macintosh... 13 2IP... 14 IP Windows... 14 IP Macintosh... 17... 19... 24... 25 Windows Me2000

More information

図解でわかるVoIPのすべて - IP電話の技術から構築まで -

図解でわかるVoIPのすべて - IP電話の技術から構築まで - VoIP VoIP 2003 2003 9 10 1 IP VoIP VoIP 11301J101 VoIP(Voice over Internet Protocol) VoIP IP IP IP 3 1. IP 2. VoIP 3. QoS 4. IP 4 IP IP 5 1.1 IP IP IP IP VoIP VoIP 6 1.2 IP - - - - - 7 1.2 IP - - - - 8

More information

Microsoft Word - Win-Outlook.docx

Microsoft Word - Win-Outlook.docx Microsoft Office Outlook での設定方法 (IMAP および POP 編 ) How to set up with Microsoft Office Outlook (IMAP and POP) 0. 事前に https://office365.iii.kyushu-u.ac.jp/login からサインインし 以下の手順で自分の基本アドレスをメモしておいてください Sign

More information

目次 1. DB 更新情報受信 SW 仕様書 構成および機能 全体の構成 DB 更新情報受信 SW の機能 ソフトウェアの設計仕様 DB 更新情報受信 SW の仕様 資料編... 5

目次 1. DB 更新情報受信 SW 仕様書 構成および機能 全体の構成 DB 更新情報受信 SW の機能 ソフトウェアの設計仕様 DB 更新情報受信 SW の仕様 資料編... 5 書類トレースシステム DigiTANAlog メインサーバマシン DB 更新情報受信 SW 仕様書 Create on 良知洋志 (RACHI, Hiroshi) Date: 2006/02/08 Last Update: 2006/02/15 目次 1. DB 更新情報受信 SW 仕様書... 2 1-1. 構成および機能...2 1-1-1. 全体の構成...2 1-1-2. DB 更新情報受信

More information

II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C main main 1 NULL NULL for 2 (a) Yacc 2 (b) 2 3 y

II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C main main 1 NULL NULL for 2 (a) Yacc 2 (b) 2 3 y II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C 1 6 9 1 main main 1 NULL NULL 1 15 23 25 48 26 30 32 36 38 43 45 47 50 52 for 2 (a) 2 2 1 Yacc 2 (b) 2 3 yytext tmp2 ("") tmp2->next->word tmp2 yytext tmp2->next->word

More information

johokiso-internet

johokiso-internet 1 2 (Internet) : ( internet) : IP (The Internet) = Web? Internet, 1960 ARPAnet (Advanced Research Project Agency) : 1988 1989 + 1992 IIJ () 3 4 = (etc.) + = 1 () A B: A3 defaut: A2 A1 A3 B1 defaut: A2

More information

Original : Hello World! (0x0xbfab85e0) Copy : Hello World! (0x0x804a050) fgets mstrcpy malloc mstrcpy (main ) mstrcpy malloc free fgets stream 1 ( \n

Original : Hello World! (0x0xbfab85e0) Copy : Hello World! (0x0x804a050) fgets mstrcpy malloc mstrcpy (main ) mstrcpy malloc free fgets stream 1 ( \n 2008 3 10 1 mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) stream FILE ( man ) 40 ( ) %./a.out String : test

More information

Microsoft PowerPoint ppt [互換モード]

Microsoft PowerPoint ppt [互換モード] 第 5 回 IP 計算機ネットワーク IP Internet Protocol Layer 3 ネットワーク層 機能 アドレッシング (IP アドレス ) IP Reachable 到達可能 = インターネット L2ではローカルのみ通信可 ルーティング フラグメント IP パケット IP パケット IP ヘッダ ペイロード イーサネットヘッダ ペイロード FCS 4 14 1500 イーサネットペイロード

More information

1 IPv6 WG OS SWG PCOSIPv6 Windows Vista 2 3 KAMEUSAGIMacOSX IPv6 2

1 IPv6 WG OS SWG PCOSIPv6 Windows Vista 2 3 KAMEUSAGIMacOSX IPv6 2 LAN IPv6 IPv6 WG IPv6 OS SWG () 1 1 IPv6 WG OS SWG PCOSIPv6 Windows Vista 2 3 KAMEUSAGIMacOSX IPv6 2 IPv6 PCOSIPv6 Windows VISTA OSv6 MacOS X Linux *BSD Solaris etc PC RS RA DAD IPv6 DHCPv6 DNS AAAA PMTUD?

More information

ネットワークプログラミング

ネットワークプログラミング ネットワークプログラミング 千代浩司 高エネルギー加速器研究機構 素粒子原子核研究所 1 内容 クライアントアプリケーションを書けるようになろう 情報のありか 各種ユーティリティー 2 Protocol 参考書 TCP/IP Illustrated, Volume 1 (Stevens) Programming Unix Network Programming Volume 1 (3rd edition)

More information

untitled

untitled 1522800T-B FeliSafe /Lite NW Ver.5.0 2 2010 7 8 Yutaka Electric Mfg.Co.,Ltd. Windows NT / 2000 / XP / 2003 / Vista / 2008 / 7 Windows 95 / 98 / 98SE / ME Microsoft Corporation FeliSafe 1. 2. 3. 4. 5. 6.

More information

IPv6 トラブルシューティング ホームネットワーク/SOHO編

IPv6 トラブルシューティング ホームネットワーク/SOHO編 IPv6 SOHO NTT fujisaki@nttv6.com 2010 NTT Information Sharing Platform Laboratories IPv6 IPv6 IPv6 IPv4 IPv6 IPv4/IPv6 MTU IPv6 2 2010 NTT Information Sharing Platform Laboratories IPv6 SOHO (NTT /) SOHO

More information

Microsoft Word - C.....u.K...doc

Microsoft Word - C.....u.K...doc C uwêííôöðöõ Ð C ÔÖÐÖÕ ÐÊÉÌÊ C ÔÖÐÖÕÊ C ÔÖÐÖÕÊ Ç Ê Æ ~ if eíè ~ for ÒÑÒ ÌÆÊÉÉÊ ~ switch ÉeÍÈ ~ while ÒÑÒ ÊÍÍÔÖÐÖÕÊ ~ 1 C ÔÖÐÖÕ ÐÊÉÌÊ uê~ ÏÒÏÑ Ð ÓÏÖ CUI Ô ÑÊ ÏÒÏÑ ÔÖÐÖÕÎ d ÈÍÉÇÊ ÆÒ Ö ÒÐÑÒ ÊÔÎÏÖÎ d ÉÇÍÊ

More information

TCP UDP TCP UDP send()sendto()sendmsg() recv()recvfrom()recvmsg() OS Passive Active TCP UDP IP TCP UDP MTAMail Transf

TCP UDP TCP UDP send()sendto()sendmsg() recv()recvfrom()recvmsg() OS Passive Active TCP UDP IP TCP UDP MTAMail Transf 3 -- 7 2011 2 TCPUDP APIApplication Programming Interface BSD UNIX C System V UNIX XTIX /Open Transport Interface XTI TCP/IP ISO OSI XTI TCP/IP OSI TCP UDP API API API API UNIX Windows 7-1 TCP UDP 7-2

More information

1-4 int a; std::cin >> a; std::cout << "a = " << a << std::endl; C++( 1-4 ) stdio.h iostream iostream.h C++ include.h 1-4 scanf() std::cin >>

1-4 int a; std::cin >> a; std::cout << a =  << a << std::endl; C++( 1-4 ) stdio.h iostream iostream.h C++ include.h 1-4 scanf() std::cin >> 1 C++ 1.1 C C++ C++ C C C++ 1.1.1 C printf() scanf() C++ C hello world printf() 1-1 #include printf( "hello world\n" ); C++ 1-2 std::cout

More information

P X-M04-00 PowerChute Network Shutdown PowerChute Network Shutdown Standard v2.2.3a / Enterprise v2.2.3v PowerChute Network Shutdown Standard

P X-M04-00 PowerChute Network Shutdown PowerChute Network Shutdown Standard v2.2.3a / Enterprise v2.2.3v PowerChute Network Shutdown Standard P-2416-211X-M04-00 PowerChute Network Shutdown Standard v2.2.3a GHSVSUUP86 Enterprise v2.2.3v GHSVSUUP87 P-2416-211X-M04-00 PowerChute Network Shutdown PowerChute Network Shutdown Standard v2.2.3a / Enterprise

More information

NetSkate

NetSkate NetSkateVisualizer v2.1 Cyber Solutions Inc. 1. 2. 3. 4. 5. 6. 7. Cyber Solutions Inc. i NetSkateVisualizer jsnmp(tm) Enterprise Copyright (c) 1997-2001 OutBack Resource Group, Inc. All rights reserved

More information

untitled

untitled 200 7 19 JPCERT [2007 2 4 6 ] IPA JPCERT JPCERT/CC 2007 2 4 6 1 2 1. 2007 2 1 2007 4 1 6 30 IPA 46 95 141 2004 7 8 501 940 1,441 3 2 (1) 3 2004 7 8 1 2007 2 1.98 1 2005/1Q 2005/2Q 2005/3Q 2005/4Q 2006/1Q

More information

lexex.dvi

lexex.dvi (2018, c ) http://istksckwanseiacjp/ ishiura/cpl/ 4 41 1 mini-c lexc,, 2 testlexc, lexc mini-c 1 ( ) mini-c ( ) (int, char, if, else, while, return 6 ) ( ) (+, -, *, /, %, &, =, ==,!=, >, >=,

More information

設定例集_Rev.8.03, Rev.9.00, Rev.10.01対応

設定例集_Rev.8.03, Rev.9.00, Rev.10.01対応 Network Equipment 設定例集 Rev.8.03, Rev.9.00, Rev.10.01 対応 2 3 4 5 6 7 8 help > help show command > show command console character administrator pp disable disconnect 9 pp enable save Password: login timer

More information

LHD-LAN_E_G_PDF.}.j...A...p65

LHD-LAN_E_G_PDF.}.j...A...p65 LHD-LAN -2- LHD-LAN LHD-LAN Mac OS 9 Mac OS 9 Mac OS 9 Mac OS 9-3- 1 Windows LHD-LAN CD- ROM 1. 1. 2. 2. Mac OS X LHD-LAN CD- ROM 1. 2. Mac OS X 3. 1.CD-ROM 2.Mac OS X 3. -4- 2 1. 2. 3 LHD-LAN 4 OK LHD-LAN

More information

untitled

untitled ()IP OSI ( ) (TCP/IP)TCP UDP ( ) IP + IP TCP / Web TCP/UDP IP / LAN IM xdsl/ () (FAX) 6bit(6556) FAX FAX ( ) UDP/TCP UDP(User Datagram Protocol) CL (Connectionless) TCP(Transmission Control Protocol) CO

More information

double 2 std::cin, std::cout 1.2 C fopen() fclose() C++ std::fstream 1-3 #include <fstream> std::fstream fout; int a = 123; fout.open( "data.t

double 2 std::cin, std::cout 1.2 C fopen() fclose() C++ std::fstream 1-3 #include <fstream> std::fstream fout; int a = 123; fout.open( data.t C++ 1 C C++ C++ C C C++ 1.1 C printf() scanf() C++ C 1-1 #include int a; scanf( "%d", &a ); printf( "a = %d\n", a ); C++ 1-2 int a; std::cin >> a; std::cout

More information

Macintosh HD:Users:ks91:Documents:lect:nm2002s:nm2002s03.dvi

Macintosh HD:Users:ks91:Documents:lect:nm2002s:nm2002s03.dvi 3 ks91@sfc.wide.ad.jp April 22, 2002 1 2 1. over IP ( : Voice over IP; IP Internet Protocol ) over IP??? : 2002/4/20 23:59 JST : http://www.soi.wide.ad.jp/report/ 3 32 11 (4/22 ) 4 () 3 2 1? 4 ...... A.C.

More information

untitled

untitled 2013. Apr.4 Mon Tue Wed Thu Fri Sat Sun 4/1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 5/1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 TEL WEB 1 2 3 4 1 2 3! ENTER 2013. 329 2013.

More information

i TCP/IP NIC Intel 3com NIC TCP/IP *1 20 IPv4 IPv6 IPv6 TCP/IP TCP/IP *1 3

i TCP/IP NIC Intel 3com NIC TCP/IP *1 20 IPv4 IPv6 IPv6 TCP/IP TCP/IP *1 3 i TCP/IP NIC Intel 3com NIC TCP/IP 78 90 500 *1 20 IPv4 IPv6 IPv6 TCP/IP TCP/IP 79 80 *1 3 ii IPv4 IPv4 *2 *3 IPv6 5 IPv6 UDP UDP IP UDP IP TCP/IP IPv6 IPv4 TCP/IP IPv6 TCP/IP TCP/IP TCP/IP TCP/IP IPv6

More information

帯域を測ってみよう (適応型QoS/QoS連携/帯域検出機能)

帯域を測ってみよう (適応型QoS/QoS連携/帯域検出機能) RTX1100 client server network service ( ) RTX3000 ( ) RTX1500 2 Sound Network Division, YAMAHA 3 Sound Network Division, YAMAHA 172.16.1.100/24 172.16.2.100/24 LAN2 LAN3 RTX1500 RTX1100 client 172.16.1.1/24

More information

1 telnet WWW 1.1 telnet WWW URL html 1.2 URL 1 % telnet 80 Trying 2001:2f8:1c:d048::850d: telnet: c

1 telnet WWW 1.1 telnet WWW URL html 1.2 URL 1   % telnet   80 Trying 2001:2f8:1c:d048::850d: telnet: c 2 065708F 2007 12 20 1 1 telnet WWW 1.1 telnet WWW URL html 1.2 URL 1 www.ie.u-ryukyu.ac.jp % telnet www.ie.u-ryukyu.ac.jp 80 Trying 2001:2f8:1c:d048::850d:3008... telnet: connect to address 2001:2f8:1c:d048::850d:3008:

More information

tcp/ip.key

tcp/ip.key IP TCP IP ヘッダデータ部ヘッダデータ部ヘッダデータ部 Ethernet パケット Ethernet パケット Ethernet パケット IP(1) 0 8 16 24 31 () Version IHL () Time To Live () Identification () Type of Service ) Flags Protocol () Source Address IP) Destination

More information

橡c03tcp詳説(3/24修正版).PDF

橡c03tcp詳説(3/24修正版).PDF 1 1 2 TCP 1 3 TCP 9 4 TCP 15 5 21 6 TCP 25 7 27 TCP 1 TCP Windows98 Linux Solaris TCP(Transmission Control Protocol) IP TCP UDP UDP TCP UDP TCP 1 TCP RFC793 RFC2581 TCP 4-1 - DataLink header IP header

More information

I 2 tutimura/ I 2 p.1/??

I 2   tutimura/ I 2 p.1/?? I 2 tutimura@mist.i.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/ 2002 4 25 I 2 p.1/?? / / Makefile I 2 p.2/?? Makefile make GNU make I 2 p.3/?? Makefile L A T E X I 2 p.4/?? core (1) gcc,

More information

untitled

untitled osamu@sfc.keio.ac.jp CNS 18 Web http://www.sfc.wide.ad.jp/~three/itbasic05/ 6/6 7/11 1 ls -la t04xxx student -rwxr-xrx three student - rwx r-x r-x Windows GUI UNIX Windows chmod CNS (755) (ug+x) % chmod

More information

集中講義 インターネットテクノロジー 第5回

集中講義 インターネットテクノロジー 第5回 5 ichii@ms.u-tokyo.ac.jp 2002/5/31 2 IPv6 2002/5/31 3 IPv6 32 IP 2008 streamline QoS anycast anycast: IPv6 40 128 2002/5/31 4 IP ICANN Ad Hoc Group on Numbering and Addressing McFadden/Holmes Report of

More information

新・明解C言語 ポインタ完全攻略

新・明解C言語 ポインタ完全攻略 2 1-1 1-1 /* 1-1 */ 1 int n = 100; int *p = &n; printf(" n %d\n", n); /* n int */ printf("*&n %d\n", *&n); /* *&n int */ printf(" p %p\n", p); /* p int * */ printf("&*p %p\n", &*p); /* &*p int * */ printf("sizeof(n)

More information

第5回お試しアカウント付き並列プログラミング講習会

第5回お試しアカウント付き並列プログラミング講習会 qstat -l ID (qstat -f) qscript ID BATCH REQUEST: 253443.batch1 Name: test.sh Owner: uid=32637, gid=30123 Priority: 63 State: 1(RUNNING) Created at: Tue Jun 30 05:36:24 2009 Started at: Tue Jun 30 05:36:27

More information

untitled

untitled ICMP 0466-XX-1395 t04000aa@sfc.keio.ac.jp 133.113.215.10 (ipv4) 2001:200:0:8803::53 (ipv6) (FQDN: Fully Qualified Domain Name) ( www.keio.ac.jp 131.113.215.10 /MAC ID 00:11:24:79:8e:82 Port Port = = Port

More information

Dual Stack Virtual Network Dual Stack Network RS DC Real Network 一般端末 GN NTM 端末 C NTM 端末 B IPv4 Private Network IPv4 Global Network NTM 端末 A NTM 端末 B

Dual Stack Virtual Network Dual Stack Network RS DC Real Network 一般端末 GN NTM 端末 C NTM 端末 B IPv4 Private Network IPv4 Global Network NTM 端末 A NTM 端末 B root Android IPv4/ 1 1 2 1 NAT Network Address Translation IPv4 NTMobile Network Traversal with Mobility NTMobile Android 4.0 VPN API VpnService root VpnService IPv4 IPv4 VpnService NTMobile root IPv4/

More information

14 G 1 ...3...4...4...4...4...4...4...5...5...6...7...7...8...9...9... 11... 11...12...13...14...16...16 5.2...17...19...24...24...25 2 PC LAN 2002 Intrusion Detection System IDS snort 3 IDS IDS snort

More information

Logitec NAS シリーズ ソフトウェアマニュアル

Logitec NAS シリーズ ソフトウェアマニュアル LAS-SFB2 V05 LAS-1URAxxxN/H LAS-RAxxV LAS-MRxxV LHD-NASxxV ... 4... 4... 7 1... 8... 9 1... 10 Windows... 10 Macintosh... 13 2IP... 14 IP Windows... 14 IP Macintosh... 17... 21... 28... 29 Windows XP SMB...

More information

Lync Server 2010 Lync Server Topology Builder BIG-IP LTM Topology Builder IP Lync 2010 BIG IP BIG-IP VE Virtual Edition BIG-IP SSL/TLS BIG-IP Edge Web

Lync Server 2010 Lync Server Topology Builder BIG-IP LTM Topology Builder IP Lync 2010 BIG IP BIG-IP VE Virtual Edition BIG-IP SSL/TLS BIG-IP Edge Web 1.1 Microsoft Lync Server 2010 BIG-IP LTM 2 4 5 BIG-IP : Lync 6 BIG-IP : Lync 7 BIG-IP : - 8 BIG-IP : - 9 A: BIG-IP Microsoft Lync Server 2010 Microsoft Lync Server 2010 Office Communications Server BIG-IP

More information