G1. : 1

Size: px
Start display at page:

Download "G1. : 1"

Transcription

1 G1. : 1

2

3 1, C 1. G1 G3 4, 12. UNIX, Linux ( ) ( ), C.,,,,,. (1 1 ), ( ).,.,,,, 3., Linux (/dev/dsp),.,,.,,,.,,,,!.,.,,,. : ( ),.,,,. :,..,.,. :.,,.,. 2.. :, (1 1 ), ( ) C.,,,.,. :,,.,,.,.,..,

4 ,,,.,,.,,,. :.,,,,.,,.,,.,. :, 4 2., 1 2 ( 2 3 ). 1.,.,,,,.,,,,, ( ).,.,,,.,,, A,,.,,,,.,,,,, ( ). :, G1-G3,.. 8,,.,,,,,, , PC Linux (Ubuntu). PC Windows,,,, Linux Linux, (, denjo ) ZENKIJIKKEN., HP,

5 URL., ,,,.,. 1.3,,. 2.4 Emacs ( ). Emacs. 1.4, Emacs 22 (GTK), Emacs. 3. C Linux C. 4 Mac,. 3.1 C Linux, C cc gcc ( )., C ( : ini.c), $ gcc ini.c ( gcc ini.c. $, ). a.out,, -o, $ gcc -o ini ini.c., $./ini../, $ ini, $ ini bash: ini: command not found.

6 1.5 Emacs ini.c., ini. main(int argc, char ** argv) { char * gn = argv[1]; char * fn = argv[2]; char g = gn[0]; char f = fn[0]; printf( initial of %s %s is %c%c.\n, gn, fn, g, f); }.,. $./ini Daisuke Matsuzaka initial of Daisuke Matsuzaka is DM. (Segmentation Fault). $./ini Daisuke Segmentation fault. 3.2, Emacs (4 Mac ). (1) Emacs : C-x C-f (Ctrl x, Ctrl f ) Find file: ~/, ~/ ( ini.c) Enter. Find file: ~/ini.c ~,,. (2) Emacs : C-x C-s (3) GUI: Mac Windows,. ini.c. (4) :, $ ls

7 . ini.c, GUI.,,, Emacs,,,.,. (1) :. /,. /home/tau/ini.c, (, ), home, tau, ini.c (. )., 2, F. /,. ini.c,.. /home/tau, ini.c, /home/tau/ini.c, enshu/mk data.c, /home/tau/enshu/mk data.c F, F, 2. (2) :., pwd. $ pwd /home/tau,,, /home/. (3) :, $ mkdir : $ mkdir g1g2g3 (g1g2g3 ), /g1g2g3. (4) Emacs : Emacs ~/,, Find file: ~/ini.c, ini.c, ( /home/tau ), /home/tau/ini.c., Find file: ~/enshu/mk data.c, /home/tau/enshu/mk data.c. (5) :,

8 $ cd., $ cd, $ cd. : $ cd g1g2g3, D, D, D. (6) : $ ls. $ ls, $ ls. (7) : cp mv,. GUI.,,.. $ cd # $ mkdir enshu # enshu Emacs ~/enshu/xyz.c $ cd enshu # enshu $ ls xyz.c # xyz.c $ gcc xyz.c # $./a.out # 3.3 Emacs, Emacs gcc. gcc, Emacs M-x compile ( : ) ( )., Emacs ( ), ( G1.1.1).

9 ,, C-g ( ). Emacs, C-g. G1.1.1 M-x compile Emacs Compile Command: make -k make -k ( ). Compile Command: gcc ini.c Emacs, ( G1.1.2). M-x compile,,,., C-x ( Ctrl x, (= Shift ). C-x. ( ). ( ).,. M-x Emacs, M-x. M-x, M-( ), x. ( M )?,,..

10 G1.1.2 M-x compile gcc Emacs Alt ( ). x,. ESC ( ). x. ESC x (ESC, x ). C-[ (Ctrl [ )., Ctrl, [,. C-[ x. 1.6 ini.c, M-x compile. C-x. M-x compile, -Wall (, gcc -Wall -o ini ini.c). ( ).,,., M-x compile,., C-x 1. Emacs,, 4.., Emacs,,,,, (, ). 4. Emacs, Emacs,. A, B,.,

11 Emacs, M-x compile, M-x gdb (Emacs ), ( ).,,,. G1.1.3 Emacs,,. ( G1.1.3 ) : Emacs, Emacs.. : Emacs, M-x compile,. 1. :, M-x compile, Emacs., ( )., Emacs, ( ), ( ).,,,, Emacs.,, ( G1.1.1 ). (1) C-g:, Emacs

12 , C-g ( ).. (2) :, C-x 2 ( C-x 3). Emacs File Split Window.., M-x compile M-x gdb. (3) :, C-x o. (4) :, C-x 0., ( ).., ( ). (5), :, C-x 1.. (6) : ( ) Emacs. C-x C-f, Emacs File Visit New File. ( ),,., ( ).,,,, ( ). (7) ( ) : Emacs Buffers, C-x b, Switch to buffer (default... ):

13 G1.1.1 Emacs C-g C-x 2 ( : C-x 3) Emacs File Split Window C-x o C-x 0 C-x 1 C-x C-f Emacs File Visit New File ( ) C-x k ( ) C-x C-b Emacs Buffers C-x C-b Emacs Buffers,. tab., tab ( )., M-x compile, Emacs. (8) : Emacs Buffers. C-x C-b. (9) ( ):,, C-x k Kill buffer (default ): Enter., C-x k, ( tab, tab ). Emacs 10 20, ( C-x C-s ). 5. :,,.,, C,., Linux (UNIX), man $ man $ man, C. :

14 $ man gcc $ man open $ man -s 2 open man q (less ). -s 2, 2, man (, C open, man open open ). 1, 2 ( ), 3 ( ).,,, -s 2 -s 3,. Emacs. M-x man Manual entry: gcc.,, #include, (Emacs & )., M-x man Manual entry: -s 2 open. 5.2 info, info. $ info gcc $ info emacs. q,. Emacs., m, m. $ info info. Emacs, M-x info.,,. man man man top info info.. q. info, Emacs.,. 6...

15 (1) ( 1 ) (2) (3), (4), ( ), segmentation fault,,,. segmentation fault, : :, -g. M-x compile Compile command: gcc -g -o ini ini.c., -Wall. 2: :, M-x gdb. M-x gdb Run gdb (like this): gdb --annoteate=3 ini, ini,., Emacs, gdb ( (gdb)). Current directory is /home/tau/ GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as i486-linux-gnu... (gdb) (ini). gdb,,,. 3: :. run. (gdb) run Daisuke Matsuzaka, ini, Daisuke Matsuzaka (,./ini Daisuke Matsuzaka. ini ). (gdb) run Daisuke Matsuzaka Starting program: /home/tau/ Daisuke Matsuzaka Initial of Daisuke Matsuzaka is DM. Program exited with code 046. (gdb), run r.

16 gdb ( quit q, ). 4: :, (gdb) quit.. ini, segmentation fault. gdb ini,. 1,2, 3, (gdb) run Daisuke.,. (gdb) run Daisuke Starting program: /home/tau/ini Daisuke Program received signal SIGSEGV, Segmentation fault. 0x080483a7 in main (argc=2, argv=0xbf8815d4) at ini.c:5, char f = fn[0]; segmentation fault, ( G1.1.4). Segmentation fault, C, p, p[i], *p, p->f, ( ) fn, fn[0]., fn. print. print gdb. (gdb) print fn $4 = 0x0 (gdb) print fn[0] Cannot access memory at address 0x0 (gdb) 0x0 ( ),., 0,. 0x0, print fn[0] (Cannot access memory at address 0x0)., 0x0,, argv[0], argv[1], argv[2] 0x0.

17 G1.1.4 GDB segmentation fault 6.2 (bt, up, down), segmentation fault, segmentation fault,. (bt), (up/down).,., fn[0], get first char. char get first char(char * s) { return s[0]; } main(int argc, char ** argv) { char * gn = argv[1]; char * fn = argv[2]; char g = get first char(gn); char f = get first char(fn); printf( initial of %s %s is %c%c.\n, gn, fn, g, f); } -g,,,, 3 return s[0]; segmentation fault. (gdb) r Daisuke Starting program: /home/tau/ini2 Daisuke

18 Program received signal SIGSEGV, Segmentation fault. 0x a in get first char (s=0x0) at ini2.c:3 s, s[0],. (gdb) print s $1 = 0x0 (gdb) print s[0] Cannot access memory at address 0x0, bt (backtrace),,. (gdb) bt #0 0x a in get first char (s=0x0) at ini2.c:3 #1 0x080483c2 in main (argc=2, argv=0xbfb59894) at ini2.c:10, main get first char., s=0x0,,,. up. up, Emacs, main, get first char., fn,, main. (gdb) up #1 0x080483c2 in main (argc=2, argv=0xbfb59894) at ini2.c:10 (gdb) p fn $2 = 0x0, down. 6.3 (break, next, step, cont, fini),.,, ( ).. segmentation fault, print bt, up, down. 1,2 :, M-x gdb. 3 : run,., main. (gdb) break main Breakpoint 1 at 0x : file ini2.c, line 7. break b. 4 :. (gdb) r Starting program: /home/tau/ini2 Breakpoint 1, main (argc=1, argv=0xbf8f3634) at ini2.c:7 main. Emacs.

19 . break continue :., run, continue (run ). step :1. ( ). next :1. step,.,.,. : (gdb) break : (gdb) b main : (gdb) break : : (gdb) b ini.c:5 Emacs :, Emacs, C-x SPACE. 6.4 :. display, finish. gdb, info. q(uit) r(un) p(rint), disp(lay) bt, up, down b(reak), n(ext), s(tep), c(ont), fini(sh) 7. C C. C,,, ( ),. 1.7 HP,.,., -Wall,. : problems.tar.gz,. $ tar xvf problems.tar.gz

20 , problems 00, 01,...,..,... ( ),,,.,. 1: $ cd 00 $ gcc p00.c # $./a.out # M-x compile. 2: $ cd 03 $ gcc p03.c $./a.out 3 # p03.c 3^2 =8 #!.,,.,.,.,,.,,,.,,.,, (, ). : gcc..,. gcc,. :,. segmentation fault assertion ( Assertion x == y failed. ) ( fopen: No such file or directory ) :,,,.,,,, (, = 50, ).,., C,,, ( )..,,,, C ( ).

21 M-x compile, C-x, segmentation fault,, M-x gdb,.,. segmentation fault.,, ( ), (*p, p[i], p f ). assertion ( ), M-x gdb., exit, abort (break exit). up exit/abort,.,,.,.,.,. printf, printf. 8. Linux 8.1,. (1), (2), Emacs. 8.2 CPU, CPU,, ( ). (1) (2). (3),,,.. 8.3,,. 1 GUI : (1), (2)., (?). 2 apt-get : ( ), root,, apt-get. iperf, $ sudo apt-get install iperf., $ apt-cache search

22 ., $ apt-cache search game,.,, $ sudo apt-get install, 10., Ubuntu,,. $ sl sl : sudo apt-get install sl bash: sl: command not found GUI,,. apt-cache search.

23 2,. 2 4 C (fopen, fprintf ), UNIX., open, read, write, close 4.,.,,., (/dev/dsp),.,., (Linear PCM).,, gnuplot, : : int fd = open(filename, OWRONLY O CREAT O TRUNC, 0644);,,. O WRONLY, filename, O CREAT, filename, O TRUNC, filename ( ), 0644, filename,, 0644., creat. creat(filename, 0644). 2: :,.. unsigned char data[n]; data[0] =... ; data[1] =... ;... 3: : write(fd, data, N);, data[0], data[1],..., data[n 1] N filename., write(fd, a, n), a n, fd ( ),., N, (1 )..?

24 ( 1, 5. )., write., write,. 4: : close(fd); write. open,, ( ).,,. open write,,. (open), (write ) (fd ).,, , 1 1,..., ,, 256 my data C mk data.c. mk data.c, open, write, close my data., (.h ) #include (#include <????.h>). #include, man, ( 1, 5. )., C, #include,,. 2.2 mk data.c, my data, ls (-l ), 256., cat Emacs,, , 6 hitoshi hitoshi.c,. :

25 2, , 0, , 0.,., ( ) (1). (2),. (3) 1 8 bit, (4) 0 255,, ,, X 0,..., 255 X 0,..., 255 X, X,,., ( ),., ( ), ,.,, fprintf, fprintf(fp, hello\n );, hello,,?.,,. unsigned char data[6]; data[0] = 104; data[1] = 101; data[2] = 108; data[3] = 108; data[4] = 111; date[5] = 10; write(fd, data, 6);.,,,.

26 ,,,,, (. ),.,,, ASCII, a 97, b 98, c 99,...,. 10., hello\n, 104, 101, 108, 108, 111, 10. Emacs, abcdefg...,.,,,,., 10, 20, 30, 40, ,,. ( ), 49, 48, 32, 50, 48, 32, 51, 48, 32, 52, od. $ od -t u od, my data,. hitoshi. od, -t (t type ),,. -t u1,, 1 unsigned., 0,..., 255,., -t d1, 128,..., t u (0,..., 65535).,.. od,,,,,. 1.3, od,,. 2, my data,. C.,,. (1), main. (2) main,. main(int argc, char ** argv), (int char **). (3) (argc), ( ), argv. (4),

27 $./mk data foo, argv[0] =./mk data argv[1] = foo,, argc = 2 (, argv argc). 2.5./mk data,. 1.4 int fd = open(filename, OWRONLY O CREAT O TRUNC, 0644);,.., ( ),.,,,., (,,, ).,.,,,.,,. open,, 1.. int fd = open(filename, OWRONLY O CREAT O TRUNC, 0644); if (fd == 1) { /* */ }?,, perror,.. int fd = open(filename, OWRONLY O CREAT O TRUNC, 0644); if (fd == 1) { perror( open ); exit(1); } exit(1),.,,. perror exit. man #include. 2.6 mk data2.c, open.. /foo bar/baz (, bar ),,

28 void die(char * s) { perror(s); exit(1); },.?,,,,,.,,.,.,,., open,., write.. write,,.,,,.,,, write, man,,..,..,.,, ( ), if ( ) { perror( ); exit(1); } 1,., 1.,.,,,,.,.,.,,,,,.,,.

29 1.5.. : fd = open(filename, ORDONLY); O RDONLY,... :, unsigned char data[n]; : n = read(fd, data, N);, data[0], data[1],..., data[n 1],. read(fd, a, n), fd ( ) n, a. write, N,..?., read., read,. : close(fd); read. :? n = read(fd, data, N);, N., (1 ),. 1., 0.,,.,. while (1) { n = read(fd, data, N); if (n == 1) { perror( read ); exit(1); } if (n == 0) break; #... data... } ( N)., END OF FILE, EOF., EOF (, read 0 ),, EOF.,. EOF. 0..

30 2.8 open,, 2 ( ( 0 ), ) read data.c., my data, , od (, ). : open, ORDONLY, O WRONLY, ORDWR. int fd = open(filename, ORDWR O CREAT O TRUNC, 0644); : fopen/fprintf, open/read/write 2 4,, fopen, fprintf, fscanf.. FILE * fp = fopen(filename, wb ); if (fp == NULL) { perror( fopen ); exit(1); } fprintf(fp, hello %s san!\n, argv[1]); C. (open/read/write, fopen/fprintf ).,, open, fopen FILE *. fopen fp, write/read ( ),. open, ( ), fopen,,,,,. open, fopen open., FILE (open ) (, )., fprintf, write (, ). fopen/fprintf, open/read/write,. read/write, ( ), fprintf, (%s) (%d)., fgets(data, N, fp), 1 ( ),. read/write, fread/fwrite..

31 , fopen, C, UNIX Windows. open/read/write UNIX, UNIX,.,?.. fopen/fprintf/fwrite/fread..,, write,.,., fprintf,. 2., open, read/write,, UNIX, open., 3. 0 :, read.,. 10. read(0, data, 10); 1 :, write.,. 10. write(1, data, 10); 2 :, write.,. 10. write(2, data, 10);,.,,,, stdin, stdout, stderr (#include <stdio.h> )., read(0, data, 10); fread(data, 1, 10, stdin);,. write(1, data, 10); write(2, data, 10);,

32 fwrite(data, 1, 10, stdout); fwrite(data, 1, 10, stderr);. fprintf, fprintf(stdout, hello %s san\n, name); fprintf(stderr, hello %s san\n, name);,. printf. 1, printf( hello %s san\n, name);. UNIX, (redirect), ( )../a.out > filename, filename. open fopen, write(1, data, 10); fprintf(stdout, hello %s san\n, name); printf( hello %s san\n, name);, filename. ( 1, ), open. >,, filename., 2>.,./a.out > filename 2> filename2.,,.,, ( ). 3. Linux (, Linux ),,., /dev/dsp,, , /dev/dsp.,, Ctrl-C. $ od -t u1 /dev/dsp

33 $./read data /dev/dsp./read data, 2.8., 127, 128, 129.,,.,,,..,., /dev/dsp,. $ cat /dev/dsp > data #, Ctrl-C cat,, cat,. (, ). int main(int argc, char * argv) { int fd = open(argv[1], O RDONLY); unsigned char data[1000]; while (1) { int n = read(fd, data, 1000); if (n == 1) { perror( read ); exit(1); } if (n == 0) break; write(1, data, n); } return 0; }, /dev/dsp, data,.., /dev/dsp. 2.10, /dev/dsp. $ cat data > /dev/dsp, data.,,,.,. /dev/dsp /dev/dsp,.,,

34 (, /dev/dsp, /dev/dsp. )., CPU,.,,, (API). UNIX, API, Open Sound System (OSS) API, /dev/dsp,,.,,, USB,. UNIX,, (, open sound card, read sound card, etc.), (1) (open, read, write, close, etc.). (2) open, read, write, close, etc. (, )..,.,.,., ( API), UNIX, API., ( ), USB 2.,,,,., /dev/dsp,,, ( ). 4.,.,,,,,.,,, ( ),,. ( ),,,.., 1, 8.1., (1) (2),, ( G1.2.1).,. HP. 5. /dev/dsp /dev/dsp, /dev/dsp, (y = f(t)), (sampling) Linear Pulse Code Modulation (Linear PCM) ( G1.2.2). bit (, sampling resolution), 1 (

35 G1.2.1 G1.2.2 /dev/dsp (Linear PCM), sampling rate), ( ),,.. : 8bit (256 ) : 8kHz (8000 / ) : 1 ( ) 1 / 8000 / 1 = 8000 / ,, 0 255, 128.,, cat /dev/dsp 5,.,. cat /dev/dsp,.

36 6. gnuplot /dev/dsp. gnuplot, ( ).. gnuplot, x, y,., (a.txt ),. $ gnuplot ( ) gnuplot> plot a.txt gnuplot>, ( G1.2.3).,.. gnuplot, plot, (a.gpl ) plot a.txt pause 1, $ gnuplot a.gpl (pause 1,,, ). /dev/dsp? read data /dev/dsp, gnuplot.., read data, ( ), 0 y =0 ( 128 ). /dev/dsp Linear PCM,,.

37 G1.2.3 gnuplot 2.13 : y = A sin (2πft) /dev/dsp. A ( ), f ( )., atof (#include ).. f = 440Hz, A.

38

39 3..,,,.

40

41 AD AD Analog-Digital 1.2 DFT Discrete Fourier Transform C 1.3 FIR C FIR Finite Impulse Response f F a F s 2F a 5kHz 10kHz F a 8kHz X(ω) G1.4.1 ω s 2 G kHz kHz AD 8kHz DA 8kHz AD 1 CD 44.1kHz 16bit 22.05kHz 20kHz 2 δ(t)

42 G1.4.1 x(t) x s (t) G kHz DA G kHz AD 6 8kHz 8kHz AD 5 48kHz 8kHz 8kHz 48kHz DA 2.4 Discrete Fourier Transform, DFT x(t) T x(t) = a (a n cos nω 0 t + b n sin nω 0 t) (ω 0 = 2π T ) n=1 e jθ = cos θ + j sin θ x(t) = c n e jnω 0t n= (ω 0 = 2π T ), c n = 1 T T 2 T 2 x(t)e jnω 0t dt 1) x(t) x(t) 時間間引き ゼロ詰め G1.4.3

43 2) e jnω0t x(t) T x(t) x(t) = 1 2π X(ω)e jωt dω, X(ω) = x(t)e jωt dt ω e jωt X(ω) x(t) DFT T s N x s (n) x s (n) =x(nt s ) n =0,..., N 1 DFT DFT x s (n) = 1 N N 1 k=0 X s (k)e j 2π N kn, X s (k) = N 1 n=0 x s (n)e j 2π N kn (k =0,..., N 1) e j 2pi N kn n k NT s k k NT s [Hz] DFT DFT x s (n) x r s(n) x i s(n) DFT x r s(n) = 1 N x i s(n) = 1 N X r s (k) = X i s(k) = N 1 k=0 N 1 k=0 N 1 n=0 N 1 n=0 X r s (k) cos(2πnk/n) X i s(k) sin(2πnk/n) X r s (k) sin(2πnk/n)+x i s(k) cos(2πnk/n) x r s(n) cos(2πnk/n)+x i s(n) sin(2πnk/n) x r s(n) sin(2πnk/n)+x i s(n) cos(2πnk/n) C x r s[],x i s[] Xs r [],Xs[] i C DFT DFT log X s (k) = log Xs r2 (k)+x s2 i (k) k ( X i s X s (k) = arctan (k) X ) s r(k) 3 k =0,..., N 1 0,..., N 1 1 N T s (= N 1 N F s) DFT F s /2 G FIR Finite Impulse Response FIR 4 δ(n) = { 1 (n = 0) 0 (n 0) 3 4 s

44 実線 : 直接音 波線 : 間接音 "impulse_response.dat" G sample index x(n)(n =0, 1, 2,...) x(n) = x(k)δ(n k) (n =0, 1, 2,...) k=0 x(n) δ(n) H h(n)(n =0, 1, 2,...) h(n) i(n) o(n) i(n) =δ(n) H o(n) =h(n) (n =0, 1, 2,...) x(n) k δ(n k) h(n k) i(n) =x(n) = x(k)δ(n k) H o(n) = x(k)h(n k) = i(k)h(n k) (n =0, 1, 2,...) k=0 o(n) = i(k)h(n k) = h(k)i(n k) (n =0, 1, 2,...) k=0 k=0 h(n) h(n) k=0 h(n) = 0 (n > n 0 ) Finite Impulse Response (FIR) 2.6 FIR G1.4.4 A B G1.4.4 h(n) h(n) G1.4.5 d p d s a(0) a(k)(k >0) 1 (k = 0) a(k) = a p (k = 1) a s a(k 1) (k >1) k=0

45 振 幅 直接音 a(0) 間接音 a(1) a(3) a(2) a(4) a(5) d p d s d s d s d s 時間 a p a s d p 50 [ms] 100 [ms] d s 25 [ms] 50 [ms] K G1.4.5 z n 1 a 1 n 1 の時間遅れ n K の時間遅れ X(z) z n 2 z n 3 a 2 a 3 Y (z) X(z) z 1 z 1 z 1 z 1 z 1 z 1 a 1 a 2 a 3 a K z n K a K Y (z) G1.4.6 G (k = 0) d(k) = d p (k = 1) d s + d(k 1) (k >1) a p a s i(n) o(n) FIR o(n) = K a(k)i(n d(k)) k=0 G G1.4.6 G1.4.6 FIR 3. web F s AD F s /2[Hz] Low Pass Filtering, LPF LPF 48kHz, 16kHz, 8kHz 16bit web 5 3

46 web 4.2 G kHz 6 8kHz 48kHz 4kHz 8kHz 1 8kHz 8kHz 5 48kHz 48kHz 4kHz kHz 4.3 C DFT x r s[],x i s[] X r s [],X i s[] x r s[],x i s[] GNUPLOT [ ] N 1 log 10 N {Xr s 2 (k)+xs i 2 (k)} web 4.4 DFT kHz, 16kHz, 48kHz N = 256, 512, [msec] N web 4.1, 4.2 DFT web web web !!! 7 4.1,

47 FIR GNUPLOT 4.6 FIR G web web PC C B. W. D. M. (1989) (1992) CQ (2006) C (2008)

48 G2. : 2

49 5 1. (or ),,.,,,,.,,. 5.1 wireless network ZENKIJIKKEN, IP, Web.,., Internet Protocol (IP). IP, IP,. IP ( ), IP (Local Area Network. LAN LAN). IP, , , 8 4 = 32., IP ver. 4 (IPv4) IP, IP ver. 6 (IPv6), FEDC:BA98:7654:3210:FEDC:BA98:7654:3210, 16 4 (16 ) 8 =128. IP IP ver. 4., IP 1, IP. UNIX, IP, ifconfig (Windows, ipconfig). 5.2 ifconfig. $ ifconfig,,, LAN, LAN. wlan0.

50 $ ifconfig wlan0 wlan0., IP. UNIX, IP,, ping. Windows ping. 5.3 ifconfig IP, ping. IP ping,. ping,. $ ping IP $ ping $ ping IP, IP ping,..,,. IP,, IP, ( ). ( ),, LAN, (default gateway),. IP,, IP ( IP )., /25, address/n. address IP, n ( ) address n /25, , ,..., IP, /25 IP IP,,, (LAN) ( ), default gateway, ( ),,

51 .,.. LAN, IP, Internet (Inter Network)., IP 2,,. 3, default gateway,.,. ifconfig. subnet mask ( ). address/n, 32 bit n 1, (32 n) 0 IP /25, 25 1 IP, , /25, a & = IP a,. Default gateway, route., IP, ( ; ),,. default gateway,. $ route -n IP Metric Ref U wlan UG wlan0 2.2 IP IP (PC ) IP, default gateway,, default gateway LAN,, IP. default gateway ( IP = ),, ( ),. default gateway, IP IP gateway LAN.,.,. :, IP,., IP IP, IP.. IP :,. IP. IP IP. IP.

52 / / / IP, IP,., IP, IP, LAN IP. IP. IP ( ), LAN. LAN, IP., PC IP. IP PC,., IP,.,? Web, ( )?. IP (, NAT. ), IP IP, PC IP. Web,. IP PC. 2.3 UDP TCP IP,,. IP., UDP TCP IP. IP, IP (, ).,,.., 7-3-1,,., IP, UDP (User Datagram Protocol). 16, IP, 65,536 UDP. IP, ( ).,,..,.,,.,,., IP, TCP (Transfer Control Protocol). Web,,, TCP,., TCP/IP.,, LAN., TCP.

53 2.4 DNS, IP, IP.,, IP, DNS ( ). DNS, web,. DNS IP, IP, DNS (Domain Name System). DNS DNS (IP ). DNS, (DNS ). IP (UDP). PC, DNS, (Primary DNS ). DNS, DNS,,., (, ) 4, primary DNS.,, IP. UNIX, DNS DNS IP. nslookup, host, dig, host. Windows, nslookup. 5.4 host (Web ) IP. $ host IP, yahoo., IP, DNS, (/etc/hosts), NIS, LDAP,,., DNS ( ),. IP : :, LAN (gateway ) default gateway: IP. ( ). DNS : (DNS ) IP,,, DHCP (Dynamic Host Configuration Protocol). PC, DHCP, PC.. ifconfig. (?) 3, G2.2.1.

54 G /3/4 ( ) IP IP, IP UDP IP. TCP DNS IP ( ) DNS., IP DHCP DHCP 3. nc TCP/IP,, TCP UDP, IP.,. Internet Explorer Firefox, Windows, TCP UDP.. UNIX Windows, (Application Programming Interface; API)., TCP UDP,.. netcat (nc ), (1) IP + (2) (3).,,,,.,,.,,. :,.,,,. : IP,.,. nc, -l,., 0 65,535, 1,023,,,., ( 10,000 )., nc, (UDP )TCP. : $ nc -l nc, IP. : $ nc IP IP, ifconfig, IP

55 .,, (IP ).,., (A, B ), A B, B. (B A ). 5.5 nc 2,. 5.6 ( ),. 5.7?. 5.8 man nc (man nc).,.., TCP, UDP. nc,,,,,,. 5.9 nc,. UDP., /dev/dsp,. /dev/dsp, nc,,.? TCP, UDP..,.. nc, nc (C ),,,,. nc.

56 4. nc nc,,.,, ( ).,.,. URL (Uniform Resource Locator) ( : URL. URL, (+ ), (+ ),, = http (+ ) = (, 80 ) (+ ) = /j/banner/life.html. URL, (1) 80,,., DNS IP. (2), /j/banner/life.html. (3),,.,,. 2,, 3,, HTTP (Hyper Text Transfer Protocol),,. 1:, nc,, web. $ nc -l : ( Firefox),, /j/banner/life.html,. IP ,. URL ( :50000, :50000,., (http 80 ).,,., nc,.,. $ nc -l GET /j/banner/life.html HTTP/1.1 Host: :50000 User-Agent: Mozilla/5.0 (X11; U; Linux i686; ja; rv: ) \ Gecko/ Ubuntu/8.04 (hardy) Firefox/3.0.6 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: ja,en-us;q=0.7,en;q=0.3 Accept-Encoding: gzip,deflate

57 Accept-Charset: Shift JIS,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive,,, GET. 3:,,.,,,,. 4:,. nc ( ).,, ( : request). $ nc -l > request request, ( )., nc,,. (80). $ nc -q < request > response -q -1,, nc request (, ). response Ctrl-C. 5: response,., (Not Found)., request 2 Host: :50000., request, ( Web )., Host: (?).,,., $ firefox response,. 5. iperf iperf, nc. ( ),, 10, ( ) iperf,. (

58 )., nc?

59 6 ( ) 1.. UNIX Windows, (API). API.,,, IP ( ). ( ),. IP UDP TCP, ( )., TCP. TCP.. 1: (socket) 2: (connect) 3: (send write), (recv read) 4:, (close), socket open. send, recv write, read., send write, recv read. close API. UNIX. connect,,,.. unsigned char data[n]; int s = socket (); connect (s, , 50000); read(s, data, N); data[0] =...; data[1] =...;...; write(s, data, N); close(s); # data N # data N write, read,., UDP, connect, send/recv sendto/recvfrom API. sendto/recvfrom send/recv IP, (, TCP, UDP ). API, (, API ). API,,,.. IP.

60 , UNIX. IP IPv4 IPv6. API,., API (IPv4, IPv6, UNIX etc.). TCP, UDP, IP API., TCP, socket(tcp), socket(..., SOCK STREAM),.., API, IP. IP,, IP, UNIX, ( /tmp/foo ). connect, connect( , 50000). (sockaddr), API,, IP., C., man socket API, IP. man connect, IP , API. 2. API 2.1 #include IP. API.,, (., )., API man, IP #include. #include <netinet/in.h> #include <netinet/ip.h> #include <netinet/tcp.h>, $ man 7 ip $ man 7 tcp $ man 7 udp., TCP/IP. 2.2 socket. int s = socket(pf INET, SOCK STREAM, 0); open. (, man socket, #include, ).,. open, read/write/close., PF INET, IPv4 ( ) IPv6 PF INET6, UNIX, PF UNIX.

61 SOCK STREAM, TCP. UDP, SOCK DGRAM.,,,,. 2.3 connect IP. connect, IP. connect(s, , 50000),, IP API,., IP struct sockaddr in addr; addr.sin family = AF INET; # IPv4 addr.sin addr.s addr = inet addr( ); # IP... addr.sin port = htons(50000); #... int ret = connect(s, (struct sockaddr *)&addr, sizeof(addr)); # connect, connect addr (&addr), (sizeof(addr)). addr, sockaddr in, IPv4. 3,. sin family,. addr.sin family = AF INET;, IPv4., connect, IP,. sin addr.s addr IP., , IP, 32 bit inet addr. sin port,. addr.sin port = 50000,, htons,.., connect.. #include. : inet addr vs. inet aton inet addr, inet aton., addr.sin addr.s addr = inet addr( );, inet aton( , &addr.sin addr);. inet addr. inet aton, IP, 0., inet addr., inet aton. 2.4 send/recv ( write/read). send write, recv read,., send/recv, write/read,., ( send/recv, Windows,, ). n = send(s, data, N, 0); n = write(s, data, N);

62 n = recv(s, data, N, 0); n = read(s, data, N); read, write. 2.5 close/shutdown close(s); open API.,., read/recv, close,, 0 ( )., EOF EOF.,. close, (write) (read),,,., close,,. shutdown API. shutdown(s, SHUT WR);, ( send )EOF., read. 6.1 C client recv.c API. IP, EOF, nc, client recv., nc,..., nc, diff.,, md5sum. $ md5sum filename 1a24874fc4ea61095d0cf16da5ee8516 filename 6.2., /dev/dsp,. $./client recv > /dev/dsp,.

63 6.3 C client send recv.c API. IP EOF, shutdown(s, SHUT WR),, EOF,... $./client send recv < orig file > output file, orig file output file. diff. $ diff orig file output file :?, C. connect. struct sockaddr in addr; addr.sin family = AF INET; addr.sin addr.s addr = inet addr( ); addr.sin port = htons(50000); int ret = connect(s, (struct sockaddr *)&addr, sizeof(addr));, IP ( ).. C, ( ). double 3, 7, ( ), (. printf,,. )., connect, IPv4, IPv6, UNIX,. C, (struct),,.,., 3, struct point { double x; double y; double z; };, 3 double, struct point p;

64 , p, p.x, p.y, p.z 3 double., p, 3 double. connect API,. IPv4 sockaddr in, IPv6 sockaddr in6, UNIX, sockaddr un. connect,. struct sockaddr in ipv4 addr; struct sockaddr in6 ipv6 addr; struct sockaddr un unix addr;... connect (s1, ipv4 addr,... ); connect (s2, ipv6 addr,... ); connect (s3, unix addr,... );. (connect) ( 2 ), sockaddr in, sockaddr in6, sockaddr un (C ).,,., sockaddr in, sockaddr in6, sockaddr un,. connect 2., struct sockaddr in ipv4 addr; struct sockaddr in6 ipv6 addr; struct sockaddr un unix addr;... connect (s1, &ipv4 addr,... ); connect (s2, &ipv6 addr,... ); connect (s3, &unix addr,... );.,, sockaddr,, struct sockaddr in ipv4 addr; struct sockaddr in6 ipv6 addr; struct sockaddr un unix addr;... connect (s1, (struct sockaddr *)&ipv4 addr,... ); connect (s2, (struct sockaddr *)&ipv6 addr,... ); connect (s3, (struct sockaddr *)&unix addr,... );, connect ( ).,,,,,., sin family.,?,,, C.,,,. 32 bit 32 bit., sockaddr in, sockaddr in6, sockaddr un,., sockaddr in, sockaddr in6, sockaddr un,,.

65 , (,, ),,,.,,, ( ).,.,,,.,,,.,,, C., connect, struct sockaddr in addr; addr.sin family = AF INET; addr.sin addr.s addr =... ; addr.sin port =... ; int ret = connect(s, (struct sockaddr *)&addr, sizeof(addr));. connect 3 sizeof(addr) 2,,, (IPv4, IP 32 bit, 16 bit, )., 2,,. sin addr.s addr, , 8 bit 4 32 bit, inet addr. sin port,, htons? htons, host-to-network-short, short (16 bit), 1 2 ( MSB LSB ),. CPU, 8 bit, 16 bit, 32 bit,...., (X) 8 bit, (X, X+1) 16 bit, (X, X+1, X+2, X+3) 32 bit,. CPU, X, X+1 16 bit, (X or X+1) 8 bit, 16 bit MSB (Most Significant Byte; 16 bit 16 bit),. CPU, Intel x86 Little Endian, X+1 MSB., Big Endian, X MSB. Big Endian., htons, Little Endian CPU 16 bit MSB LSB (Big Endian ),.,,,. ( ),.. connect,,, sockaddr in, (bit )CPU,.

66

67 7..,,,.

68

69 8 ( ) 1. API.,.,, (connect).,,.,. 1: (socket) 2: (bind) 3: (listen) 4: connect (accept) 5: (send write), (recv read) 6:, (close). unsigned char data[n]; int ss = socket (); bind (ss, 50000); listen (ss); s = accept (ss); close(ss); read(s, data, N); data[0] =...; data[1] =...;...; write(s, data, N); close(s); # # # # write, read,. close(ss), accept. 2. API bind, listen, accept 3., ss socket (ss = socket(... )). 2.1 bind bind,,.,., (IP ), (bind(ss, 50000) ).. struct sockaddr in addr; addr.sin family = AF INET; # bind # IPv4

70 addr.sin port = htons(50000); #... addr.sin addr.s addr = INADDR ANY; # IP bind(ss, (struct sockaddr *)&addr, sizeof(addr));,, IP, addr ( ), bind. connect. addr 3. IP, IP., INADDR ANY, ( ). IP IP, IP. bind : Address already in use (!) bind., bind.,., ,,.,,., close. close,., close.,,. 2.2 listen listen,., (connect )., (accept ).. listen(ss, 10); 2 ( 10 ), connect,,. connect,,., accept accept,. listen, listen,, accept. accept,. accept. accept (, ), API. accept,... struct sockaddr in client addr; socklen t len = sizeof(struct sockaddr in); int s = accept(ss, (struct sockaddr *)&client addr, &len); client addr, accept, accept,. accept, client addr sin addr.s addr, sin port

71 ,., 3, ( ) (, 2., )., ( ), (send/recv). 8.1 C, serv send.c. $./serv send,.,., 6.2 client recv. client recv.,, /dev/dsp, /dev/dsp,. 3. iperf ( ),., 1,.,, (Round Trip Time; RTT)., (1 ).., ( )..,,?. ( ),,.,, ( )..,,., pingpong s.c pingpong c.c. $./pingpong s SZ N,. 1., SZ 1, N. $./pingpong c SZ N,, 1., SZ, 1, N. N, 1 t., (N / t).,. (N ). SZ, gnuplot. SZ 1 10MB

72 ,. SZ iperf?.... s = accept(ss,... ); 1 ; for (i = 0; i < N; i++) { SZ ; 1 ; }... connect(s,... ); 1 ; t0 = ; for (i = 0; i < N; i++) { SZ ; 1 ; } t1 = ; 1 ;. gettimeofday. man.. /* ( : ) */ double current time() { struct timeval tp; gettimeofday(&tp, NULL); return tp.tv sec + tp.tv usec * 1.0E-6; } ,.,..,..,,.,.,

73 ,, (. ). ( ),,,, API. HP.

74 G3. : 3

75 9...

76

77 10...

78

79 11.,.., OpenOffice.org, Microsoft PowerPoint, TEX. HP.

80

81 12.,.., OpenOffice.org, Microsoft PowerPoint, TEX. HP.

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

IP L09( Tue) : Time-stamp: Tue 14:52 JST hig TCP/IP. IP,,,. ( )   L09 IP (2017) 1 / 28 L09(2017-11-21 Tue) : Time-stamp: 2017-11-21 Tue 14:52 JST hig TCP/IP. IP,,,. http://hig3.net L09 (2017) 1 / 28 9, IP, - L09 (2017) 2 / 28 C (ex. ) 1 TCP/IP 2 3 ( ) ( L09 (2017) 3 / 28 50+5, ( )50+5. (

More information

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

エラー処理・分割コンパイル・コマンドライン引数 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

X Window System X X &

X Window System X X & 1 1 1.1 X Window System................................... 1 1.2 X......................................... 1 1.3 X &................................ 1 1.3.1 X.......................... 1 1.3.2 &....................................

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

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

GNU Emacs GNU Emacs

GNU Emacs GNU Emacs GNU Emacs 2015 10 2 1 GNU Emacs 1 1.1....................................... 1 1.2....................................... 1 1.2.1..................................... 1 1.2.2.....................................

More information

全体ロードマップ インターネット電話 音の符号化 ( 信号処理 ) 今日 音の録音 再生 ネットワーク ( ソケット ) プログラミング ファイル入出力 インターネットの基礎 C プログラミング基礎

全体ロードマップ インターネット電話 音の符号化 ( 信号処理 ) 今日 音の録音 再生 ネットワーク ( ソケット ) プログラミング ファイル入出力 インターネットの基礎 C プログラミング基礎 ファイル入出力 全体ロードマップ インターネット電話 音の符号化 ( 信号処理 ) 今日 音の録音 再生 ネットワーク ( ソケット ) プログラミング ファイル入出力 インターネットの基礎 C プログラミング基礎 今日のロードマップ 波形として可視化 (gnuplot) 課題 2.13, 2.15 音を自分のプログラムに読み込む (rec + read) 音を作って鳴らす (write + play)

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

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

LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License

LAN Copyright c Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License LAN 2014 3 19 Copyright c 1993 2014 Daikoku Manabu This tutorial is licensed under a Creative Commons Attribution 2.1 Japan License. 1 2 1.1................................... 2 1.2.........................

More information

r07.dvi

r07.dvi 19 7 ( ) 2019.4.20 1 1.1 (data structure ( (dynamic data structure 1 malloc C free C (garbage collection GC C GC(conservative GC 2 1.2 data next p 3 5 7 9 p 3 5 7 9 p 3 5 7 9 1 1: (single linked list 1

More information

ohp07.dvi

ohp07.dvi 19 7 ( ) 2019.4.20 1 (data structure) ( ) (dynamic data structure) 1 malloc C free 1 (static data structure) 2 (2) C (garbage collection GC) C GC(conservative GC) 2 2 conservative GC 3 data next p 3 5

More information

programmingII2019-v01

programmingII2019-v01 II 2019 2Q A 6/11 6/18 6/25 7/2 7/9 7/16 7/23 B 6/12 6/19 6/24 7/3 7/10 7/17 7/24 x = 0 dv(t) dt = g Z t2 t 1 dv(t) dt dt = Z t2 t 1 gdt g v(t 2 ) = v(t 1 ) + g(t 2 t 1 ) v v(t) x g(t 2 t 1 ) t 1 t 2

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

slide5.pptx

slide5.pptx ソフトウェア工学入門 第 5 回コマンド作成 1 head コマンド作成 1 早速ですが 次のプログラムを head.c という名前で作成してください #include #include static void do_head(file *f, long nlines); int main(int argc, char *argv[]) { if (argc!=

More information

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL 2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL   2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b II 5 (1 2005 5 26 http://www.math.meiji.ac.jp/~mk/syori2-2005/ UNIX (Linux Linux 1 : 2005 http://www.math.meiji.ac.jp/~mk/syori2-2005/jouhousyori2-2005-00/node2. html ( (Linux 1 2 ( ( http://www.meiji.ac.jp/mind/tool/internet-license/

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/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

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

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

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

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°ÆÃÏÀ 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

2 1. Ubuntu 1.1 OS OS OS ( OS ) OS ( OS ) VMware Player VMware Player jp/download/player/ URL VMware Plaeyr VMware

2 1. Ubuntu 1.1 OS OS OS ( OS ) OS ( OS ) VMware Player VMware Player   jp/download/player/ URL VMware Plaeyr VMware 1 2010 k-okada@jsk.t.u-tokyo.ac.jp http://www.jsk.t.u-tokyo.ac.jp/~k-okada/lecture/ 2010 4 5 Linux 1 Ubuntu Ubuntu Linux 1 Ubuntu Ubuntu 3 1. 1 Ubuntu 2. OS Ubuntu OS 3. OS Ubuntu https://wiki.ubuntulinux.jp/ubuntutips/install/installdualboot

More information

273? C

273? C TSG Theoretical Science Group 273? C 2-1.................................. 2 -1. Windows Mac Mac UNIX CUI bash >_ Finder TSG No.273? 2 3 pwd ls cd ( ) change directory 3 TSG No.273? cd hoge cd hoge cd....../

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

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

unix.dvi

unix.dvi 1 UNIX 1999 4 27 1 UNIX? 2 1.1 Windows/Macintosh? : : : : : : : : : : : : : : : : : : : : : : : : 2 1.2 UNIX OS : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : 2 1.3 : : : : : : : : : : : :

More information

[user@linux tmp]$ tar xzvf utvpn-src-unix-v100-7092-beta-2010.06.25.tar.gz [user@linux tmp]$ cd utvpn-unix-v100-7092-beta [user@linux utvpn-unix-v100-7092-beta]$ ls License-ja.txt configure makefiles src

More information

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2

Windows Cygwin Mac *1 Emacs Ruby ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 September 2016 1 Windows Cygwin Mac *1 Emacs Ruby 1 1.1 ( ) 1 Cygwin Bash Cygwin Windows Cygwin Cygwin Mac 1 Mac 1.2 *2 ls *3 *1 OS Linux *2 *3 Enter ( ) 2 ~/16:00:20> ls 2 2 ls ls -a ~/16:00:20> ls -a

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

UNIX

UNIX 2000 1 UNIX 2000 4 14 1 UNIX? 2 1.1 UNIX OS....................................... 2 1.2.................................................... 2 1.3 UNIX...................................... 2 1.4 Windows

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

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

<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

ohp.mgp

ohp.mgp 2019/06/11 A/B -- HTML/WWW(World Wide Web -- (TA:, [ 1 ] !!? Web Page http://edu-gw2.math.cst.nihon-u.ac.jp/~kurino VNC Server Address : 10.9.209.159 Password : vnc-2019 (2019/06/04 : : * * / / : (cf.

More information

ヤマハルーターのCLI:Command Line Interface

ヤマハルーターのCLI:Command Line Interface (Command Line Interface) cf. http://www.rtpro.yamaha.co.jp/rt/docs/console/ Command Line Interface Graphical User Interface 2 (CLI) WWW(GUI) (CLI) WWW(GUI) character display graphic display keyboard pointer

More information

Page 1

Page 1 ... 1... 3... 4... 6 0100... 8 0102... 11 0103 FTP... 12 0105... 13 0109... 14... 15 0130... 16 0150 STD... 17 0154 TXT... 18 0170... 19 0180 1... 20 0190 2... 21 0196 3... 22 0200... 23 0300... 24 0500

More information

tebiki00.dvi

tebiki00.dvi (Linux) [ UNIX ] CMD Workshop ( ) 1 *********************************************************************** * Linux PC-UNIX UNIX * * 99% FreeBSD BSD PC-UNIX * * * ***********************************************************************

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

: 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

2.2 Sage I 11 factor Sage Sage exit quit 1 sage : exit 2 Exiting Sage ( CPU time 0m0.06s, Wall time 2m8.71 s). 2.2 Sage Python Sage 1. Sage.sage 2. sa

2.2 Sage I 11 factor Sage Sage exit quit 1 sage : exit 2 Exiting Sage ( CPU time 0m0.06s, Wall time 2m8.71 s). 2.2 Sage Python Sage 1. Sage.sage 2. sa I 2017 11 1 SageMath SageMath( Sage ) Sage Python Sage Python Sage Maxima Maxima Sage Sage Sage Linux, Mac, Windows *1 2 Sage Sage 4 1. ( sage CUI) 2. Sage ( sage.sage ) 3. Sage ( notebook() ) 4. Sage

More information

C

C C 1 2 1.1........................... 2 1.2........................ 2 1.3 make................................................ 3 1.4....................................... 5 1.4.1 strip................................................

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

main.dvi

main.dvi 3 Discrete Fourie Transform: DFT DFT 3.1 3.1.1 x(n) X(e jω ) X(e jω )= x(n)e jωnt (3.1) n= X(e jω ) N X(k) ωt f 2π f s N X(k) =X(e j2πk/n )= x(n)e j2πnk/n, k N 1 (3.2) n= X(k) δ X(e jω )= X(k)δ(ωT 2πk

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

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

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

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

08+11Extra

08+11Extra A - - #8 bit, Byte, Yutaka Yasuda bit : データの最小単位 1bit = 最小状態の単位 = 二進一桁 コンピュータ内部は電気配線 配線に電気が通っている いな い だけで処理 状態は2種 二値 二進 動作にうまく対応 二進一桁を配線一本で実現 0と1 二進数 で動作 の実体 1bit = 二進一桁 = 配線一本 Byte : Byte bit 8 1 Byte

More information

tutorial_lc.dvi

tutorial_lc.dvi 00 Linux v.s. RT Linux v.s. ART-Linux Linux RT-Linux ART-Linux Linux kumagai@emura.mech.tohoku.ac.jp 1 1.1 Linux Yes, No.,. OS., Yes. Linux,.,, Linux., Linux.,, Linux. Linux.,,. Linux,.,, 0..,. RT-Linux

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

joho09.ppt

joho09.ppt s M B e E s: (+ or -) M: B: (=2) e: E: ax 2 + bx + c = 0 y = ax 2 + bx + c x a, b y +/- [a, b] a, b y (a+b) / 2 1-2 1-3 x 1 A a, b y 1. 2. a, b 3. for Loop (b-a)/ 4. y=a*x*x + b*x + c 5. y==0.0 y (y2)

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

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

ソケット API プロセス間通信の汎用 API プロセス : プログラムのひとつの単位 ex)./a.out とかやると 1 つのプロセスが立ち上がる ソケット API IPv4 IPv6 UNIX domain (UNIX 計算機内プロセス間通信 ) 本実験では IPv4 の TCP および UD

ソケット API プロセス間通信の汎用 API プロセス : プログラムのひとつの単位 ex)./a.out とかやると 1 つのプロセスが立ち上がる ソケット API IPv4 IPv6 UNIX domain (UNIX 計算機内プロセス間通信 ) 本実験では IPv4 の TCP および UD ソケットプログラミング ソケット API プロセス間通信の汎用 API プロセス : プログラムのひとつの単位 ex)./a.out とかやると 1 つのプロセスが立ち上がる ソケット API IPv4 IPv6 UNIX domain (UNIX 計算機内プロセス間通信 ) 本実験では IPv4 の TCP および UDP を, ソケット API を通じて行う クライアントとサーバ 電話を用いた比喩

More information

WIDE 1

WIDE 1 WIDE 1 2 Web Web Web Web Web Web Web Web Web Web? Web Web Things to cover Web Web Web Web Caching Proxy 3 Things NOT covered / How to execute Perl Scripts as CGI binaries on Windows NT How to avoid access

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

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

ARM gcc Kunihiko IMAI 2009 1 11 ARM gcc 1 2 2 2 3 3 4 3 4.1................................. 3 4.2............................................ 4 4.3........................................

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

卒 業 研 究 報 告.PDF

卒 業 研 究 報 告.PDF C 13 2 9 1 1-1. 1-2. 2 2-1. 2-2. 2-3. 2-4. 3 3-1. 3-2. 3-3. 3-4. 3-5. 3-5-1. 3-5-2. 3-6. 3-6-1. 3-6-2. 4 5 6 7-1 - 1 1 1-1. 1-2. ++ Lisp Pascal Java Purl HTML Windows - 2-2 2 2-1. 1972 D.M. (Dennis M Ritchie)

More information

IP.dvi

IP.dvi ... 3... 3... 3... 4... 6 VLAN... 6... 6 DHCP... 7... 7... 9... 9... 10... 12 R... 15... 15... 15 ARP... 18... 18 ARP... 18 DNS... 20... 20 DHCP/BOOTP... 21... 21 DHCP... 22 UDP... 23... 23... 23... 26...

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

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

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

I j

I j I j06062 19.5.22 19.5.25 19.5.25 1 1 1 ping 3 2 2 ping 4 3 3 traceroute 5 4 4 netstat 5 4.1 netstat -i............................................. 5 4.2 netstat -r.............................................

More information

A : kerl kerl Erlang/OTP Erlang/OTP 2 2 Elixir/Phoenix URL 2 PDF A.2 Bash macos.bash_profile exp

A : kerl kerl Erlang/OTP Erlang/OTP 2 2 Elixir/Phoenix URL 2 PDF   A.2 Bash macos.bash_profile exp A Erlang/OTP Elixir Phoenix nvm Node.js A.1 Erlang/OTP 21.1 $ kerl update releases $ kerl build 21.1 21.1 $ kerl install 21.1 ~/erlang/21.1 $ source ~/erlang/21.1/activate Erlang/OTP 1 203 A : kerl kerl

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

Copyright Oracle Parkway, Redwood City, CA U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated softw

Copyright Oracle Parkway, Redwood City, CA U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated softw Oracle Solaris Studio 12.3 Part No: E26466 2011 12 Copyright 2011 500 Oracle Parkway, Redwood City, CA 94065 U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software,

More information

大統一Debian勉強会 gdb+python拡張を使ったデバッグ手法

大統一Debian勉強会 gdb+python拡張を使ったデバッグ手法 Debian 2013 gdb+python nozzy@debian.or.jp 2013 6 29 Level Debian Up Debian Debian debian sid unstable Debian debian sid unstable *-dbg Debian debian sid unstable *-dbg gdb Debian debian sid unstable *-dbg

More information

untitled

untitled Worldspan go! 4.x (UCI) Administrator Guide go! 4.x (UCI) Version 2.1.4 : 31 August 2007 1. WORLDSPAN GO! VERSION 4.X (UCI)... 3 2. WORLDSPAN GO! VERSION 4.X (UCI)... 4 3.... 6 4. WORLDSPAN GO! VERSION

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

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

For_Beginners_CAPL.indd

For_Beginners_CAPL.indd CAPL Vector Japan Co., Ltd. 目次 1 CAPL 03 2 CAPL 03 3 CAPL 03 4 CAPL 04 4.1 CAPL 4.2 CAPL 4.3 07 5 CAPL 08 5.1 CANoe 5.2 CANalyzer 6 CAPL 10 7 CAPL 11 7.1 CAPL 7.2 CAPL 7.3 CAPL 7.4 CAPL 16 7.5 18 8 CAPL

More information

NL-22/NL-32取扱説明書_操作編

NL-22/NL-32取扱説明書_操作編 MIC / Preamp ATT NL-32 A C ATT AMP 1 AMP 2 AMP 3 FLAT FLAT CAL.SIG. OVER LOAD DET. AMP 4 AMP 5 A/D D/A CONV. AMP 6 AMP 7 A/D CONV. Vref. AMP 8 AMP 10 DC OUT AMP 9 FILTER OUT AC DC OUT AC OUT KEY SW Start

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

I httpd School of Information Science, Japan Advanced Institute of Science and Technology

I httpd School of Information Science, Japan Advanced Institute of Science and Technology I117 17 4 httpd School of Information Science, Japan Advanced Institute of Science and Technology httpd HTTP httpd log file access log access.log CERN httpd common format lighttpd common format 2 1000

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

2011 I/ 2 1

2011 I/ 2 1 2011 I/ 2 1 ISO 7 layer reference model TCP/IP ISO 7 layer reference model 5 7 2011 I/ 2 2 2011 I/ 2 3 OSI 7 Layer Reference Model 2011 I/ 2 4 Harry Nyquist (1924) Maximum data rate = 2H log 2 V (bits/s)

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

program.dvi

program.dvi 2001.06.19 1 programming semi ver.1.0 2001.06.19 1 GA SA 2 A 2.1 valuename = value value name = valuename # ; Fig. 1 #-----GA parameter popsize = 200 mutation rate = 0.01 crossover rate = 1.0 generation

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

Informatics 2014

Informatics 2014 C 計算機の歴史 手回し計算機 新旧のソロバン バベッジの階差機関 スパコン ENIAC (1946) パソコン 大型汎用計算機 電卓 現在のコンピュータ Input Output Device Central Processing Unit I/O CPU Memory OS (Operating System) OS Windows 78, Vista, XP Windows Mac OS X

More information

help gem gem gem my help

help gem gem gem my help hikiutils 1234 2017 3 1 1 6 1.0.1 help gem................... 7 gem.................................... 7 gem................................... 7 my help.................................. 7 my help......................

More information

Microsoft Word - D JP.docx

Microsoft Word - D JP.docx Application Service Gateway Thunder/AX Series vthunder ライセンスキー インストール 手順 1 1.... 3 2. vthunder... 3 3. ACOS... 3 4. ID... 5 5.... 8 6.... 8 61... 8 62 GUI... 10 2 1. 概要 2. vthunder へのアクセス 方法 SSHHTTPSvThunder

More information

file"a" file"b" fp = fopen("a", "r"); while(fgets(line, BUFSIZ, fp)) {... fclose(fp); fp = fopen("b", "r"); while(fgets(line, BUFSIZ, fp)) {... fclose

filea fileb fp = fopen(a, r); while(fgets(line, BUFSIZ, fp)) {... fclose(fp); fp = fopen(b, r); while(fgets(line, BUFSIZ, fp)) {... fclose I117 9 2 School of Information Science, Japan Advanced Institute of Science and Technology file"a" file"b" fp = fopen("a", "r"); while(fgets(line, BUFSIZ, fp)) {... fclose(fp); fp = fopen("b", "r"); while(fgets(line,

More information

note.dvi

note.dvi 1 1 1.1,.,,.,.,, CPU LSI.,.,,, Nintendo64, PlayStation 1, 2.,,,,. 1.1.1,.,.,.,.,..,.,....... 1,, Nintendo64. PlayStation SONY Computer Entertainment. 2., CPU PlayStation2 SONY Computer Entertainment, Pentium3

More information

J.JSSAC Vol. 7, No. 2, Mathematica Maple,., Open asir Open xxx asir. Open xxx Open asir, asir., Open xxx, Linux Open asir Open sm1 (kan/sm1). C

J.JSSAC Vol. 7, No. 2, Mathematica Maple,., Open asir Open xxx asir. Open xxx Open asir, asir., Open xxx, Linux Open asir Open sm1 (kan/sm1). C J.JSSAC (1999) Vol. 7, No. 2, pp. 2-17 Open asir HPC (Received 1997/12/1) 1 Open asir Open xxx,., ( ),,,,,.,., (1) (2) (3) (4),. Open xxx,.,., 1.,.,., 0 10, dx,.,., ohara@math.kobe-u.ac.jp taka@math.kobe-u.ac.jp

More information

2 PC [1], [2], [3] 2.1 OS 2.1 ifconfig 2.1 lo ifconfig -a 2.1 enp1s0, enx0090cce7c734, lo 3 enp1s0 enx0090cce7c734 PC 2.1 (eth0, eth1) PC 14

2 PC [1], [2], [3] 2.1 OS 2.1 ifconfig 2.1 lo ifconfig -a 2.1 enp1s0, enx0090cce7c734, lo 3 enp1s0 enx0090cce7c734 PC 2.1 (eth0, eth1) PC 14 2 PC [1], [2], [3] 2.1 OS 2.1 ifconfig 2.1 lo ifconfig -a 2.1 enp1s0, enx0090cce7c734, lo 3 enp1s0 enx0090cce7c734 PC 2.1 (eth0, eth1) PC 14 $ ifconfig lo Link encap: inet :127.0.0.1 :255.0.0.0 inet6 :

More information

AC3DGmst.ps

AC3DGmst.ps IBM Access Connections 3.3x : 2004 11 2 27K6962 URL http://www.ibm.com/jp/manuals/main/mail.html IBM http://www.ibm.com/jp/manuals/ (URL ) IBM Access Connections Deployment Guide Version 3.3x 1 2004.11

More information

owners.book

owners.book Network Equipment RTX1200 RTX800 2 3 4 5 6 7 8 9 10 bold face Enter Ctrl Tab BS Del Ctrl X Ctrl X Regular face 11 12 13 14 RTX1200 RTX1200 RTX1200 15 16 ), -. / 1 4 5 6 17 18 19 20 21 console character

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

2014 3 10 5 1 5 1.1..................................... 5 2 6 2.1.................................... 6 2.2 Z........................................ 6 2.3.................................. 6 2.3.1..................

More information

thesis.dvi

thesis.dvi H8 e041220 2009 2 Copyright c 2009 by Kentarou Nagashima c 2009 Kentarou Nagashima All rights reserved , H8.,,,..,.,., AKI-H8/3052LAN. OS. OS H8 Write Turbo. H8 C, Cygwin.,., windows. UDP., (TA7279P).,.

More information

Informatics 2010.key

Informatics 2010.key http://math.sci.hiroshima-u.ac.jp/ ~ryo/lectures/informatics2010/ 1 2 C ATM etc. etc. (Personal Computer) 3 4 Input Output Device Central Processing Unit I/O CPU Memory 5 6 (CPU),,... etc. C, Java, Fortran...

More information

B 20 Web

B 20 Web B 20 Web 0753018 21 1 29 1 1 6 2 8 3 UI 10 3.1........................ 10 3.2 Web............ 11 3.3......... 12 4 UI 14 4.1 Web....................... 15 4.2 Web........... 16 4.3 Web....................

More information

r4.dvi

r4.dvi 11 4 2010.5.11 1 1.1 :???? ( : ) ( 1)? 1:? Google Web www.museuhistoriconacional.com.br ping % /sbin/ping www.museuhistoriconacional.com.br PING museuhistoriconacional.com.br (200.198.87.5): 56 data bytes

More information

2008, 2009 TOSHIBA TEC CORPORATION All rights reserved

2008, 2009 TOSHIBA TEC CORPORATION All rights reserved 2008, 2009 TOSHIBA TEC CORPORATION All rights reserved 1 2 3 1 2 ... 1 1... 8... 9... 18... 24... 25... 30... 31... 34... 37 E... 67 Bluetooth BIP... 68 2... 71... 73... 100 3 ... 132... 134... 136 E...

More information

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for embedded systems that use microcontrollers (MCUs)

More information

困ったときのQ&A

困ったときのQ&A Q&A 1 2 3 Q&A Q&A Q&A Q&A Q&A Q&A Q&A Q&A Q&A Q&A Q&A Q&A LAN Q&A PC-Diagnostic 6 10 11 17 18 19 22 24 25 29 30 33 34 39 42 Microsoft Windows XP Professional Service Pack 2 Microsoft Windows XP Professional

More information

p = 1, 2, cos 2n + p)πj = cos 2nπj 2n + p)πj, sin = sin 2nπj 7.1) f j = a ) 0 + a p + a n+p cos 2nπj p=1 p=0 1 + ) b n+p p=0 sin 2nπj 1 2 a 0 +

p = 1, 2, cos 2n + p)πj = cos 2nπj 2n + p)πj, sin = sin 2nπj 7.1) f j = a ) 0 + a p + a n+p cos 2nπj p=1 p=0 1 + ) b n+p p=0 sin 2nπj 1 2 a 0 + 7 7.1 sound_wav_files flu00.wav.wav 44.1 khz 1/44100 spwave Text with Time spwave T > 0 t 44.1 khz t = 1 44100 j t f j {f 0, f 1, f 2,, f 1 = T t 7.2 T {f 0, f 1, f 2,, f 1 T ft) f j = fj t) j = 0, 1,

More information