13-Java Network Programming
|
|
- 인문 범
- 6 years ago
- Views:
Transcription
1 JAVA Programming Language JAVA Network Programming IP Address(Internet Protocol Address) URL(Uniform Resource Location) TCP(Transmission Control Protocol) Socket UDP(User Datagram Protocol) Client / Server Programming 2
2 IP Address(1), 32 1 DNS(Domain Name Servic IP Address 3 IP Address(2) 4
3 IP Address(3) / 5 IP Address(4) (decapsulation). 6
4 IP Address(5) InetAddress IP Byte[ ]] getaddress( ); );//// InetAddress IP String gethostaddress( ); );/// IP %d.%d.%d.%d String gethostname( ); );//// String tostring( ); );/// IP Boolean ismulticastaddress( ); );/// InetAddress IP // // IP Static InetAddress[ ]] getallbyname(string host); // // IP Static InetAddress getbyname(string host); // // local host IP Static InetAddress getlocalhost( ); ); 7 IP Address(6) InetAddress InetAddressTest InetAddressTest main(string main(string args[]) args[]) InetAddress InetAddress myip=null, myip=null, myips[]=null; myips[]=null; myip myip = InetAddress.getByName( InetAddress.getByName( ); ); System.out.println(getHostName: System.out.println(getHostName: + myip.gethostname()); myip.gethostname()); System.out.println(getHostAddr: System.out.println(getHostAddr: + myip.gethostaddress()); myip.gethostaddress()); System.out.println( System.out.println( tostring: tostring: + myip.tostring()); myip.tostring()); catch(unknownhostexception catch(unknownhostexception System.out.println(; System.out.println(; myip myip = InetAddress.getByName(selab.soongsil.ac.kr); InetAddress.getByName(selab.soongsil.ac.kr); System.out.println(getHostName: System.out.println(getHostName: + myip.gethostname()); myip.gethostname()); System.out.println(getHostAddr: System.out.println(getHostAddr: + myip.gethostaddress()); myip.gethostaddress()); System.out.println( System.out.println( tostring: tostring: + myip); myip); catch(unknownhostexception catch(unknownhostexception System.out.println(; System.out.println(; myip myip = InetAddress.getLocalHost(); InetAddress.getLocalHost(); System.out.println(getHostName: System.out.println(getHostName: + myip.gethostname()); myip.gethostname()); System.out.println(getHostAddr: System.out.println(getHostAddr: + myip.gethostaddress()); myip.gethostaddress()); catch(unknownhostexception catch(unknownhostexception System.out.println(; System.out.println(; byte byte inet[] inet[] = myip.getaddress(); myip.getaddress(); System.out.print(getHostAddr: System.out.print(getHostAddr: ); ); for(int for(int i=0;i<inet.length;i++) i=0;i<inet.length;i++) System.out.print(inet[i]+.); System.out.print(inet[i]+.); System.out.println(); System.out.println(); System.out.print(getHostAddr: System.out.print(getHostAddr: ); ); for(int for(int i=0;i<inet.length;i++) i=0;i<inet.length;i++) System.out.print(((inet[i]<0) System.out.print(((inet[i]<0)?? (inet[i]+256) (inet[i]+256) : : inet[i])+.); inet[i])+.); System.out.println(); System.out.println(); myips myips = InetAddress.getAllByName(selab.soongsil.ac.kr); InetAddress.getAllByName(selab.soongsil.ac.kr); for(int for(int i=0;i<myips.length;i++) i=0;i<myips.length;i++) System.out.println(getHostName: System.out.println(getHostName: + myips[i].gethostname()); myips[i].gethostname()); System.out.println(getHostAddr: System.out.println(getHostAddr: + myips[i].gethostaddress()); myips[i].gethostaddress()); catch(unknownhostexception catch(unknownhostexception System.out.println(; System.out.println(; 8
5 URL(Uniform Resource Location) URL <URL > 9 URL(2) URL URL Protocol Host TCP Path Anchor URL ( ref, or reference ) # 10
6 URL(3) URLEncoder x-www-form-urlencoded MIME + %xy 3 URLDecoder URLEncoder 11 URL(4) URLConnection, URL URL 1. URL openconnection 2. setup parameter 3. connect
7 URL(5) HTTP(Hyper Text Transfer Protocol) MIME(Multipurpose Internet Mail Extension) HTML 1. (create connection) 2. (request) 3. (respons 4. (close connection) 13 URL(6) HttpURLConnection URLConnection HTTP 14
8 TCP Socket(1) Socket TCP <IP Address port, socket > 15 TCP Socket(2) C TCP 16
9 TCP Socket(3) TCP 17 TCP Socket(4), echo daytime FTP TELNET SMTP HTTP
10 TCP Socket(5) Socket Socket port <socket> 19 TCP Socket(5) Basic process for JAVA Network Program Step 1 Open a socket Step 2 Open an input stream and output stream to the socket Step 3 Read from and write to the stream according to the server s protocol Step 4 Close the streams Step 5 Close the socket 20
11 TCP Socket(6) ServerSocket Socket / 21 Establishing a Server Step 1 : create a ServerSocket object Register port number, a maximum number of clients Step 2 : listen indefinitely for an attempt by a client to connect Call to the ServerSocket accept method Step 3 : to get OutputStream, InputStream object Enable the server to communicate with the client Step 4 : the Server and the client communicate Via the InputStream and OutputStream object Step 5 : the server close the connection By invoking the close method on the Socket 22
12 Establishing a Server - code... // // Step 1: 1: Create a ServerSocket. server = ServerSocket( 5000, 100 ); ); while (( true )) // // Step 2: 2: Wait for for a connection. connection = server.accept(); display.append( Connection + counter + received from: + connection.getinetaddress().gethostname () ());); // // Step 3: 3: Get Get input and output streams. input = DataInputStream( connection.getinputstream() ); ); output = DataOutputStream( connection.getoutputstream() ); ); display.append( \ngot I/O I/O streams\n ); ); // // Step 4: 4: Process connection. display.append( Sending message \Connection successful\\n ); ); output.writeutf ((Connection successful ); ); display.append( Client message: + input.readutf () ());); // // Step 5: 5: Close connection. display.append( \ntransmission complete. + Closing socket.\n\n ); ); connection.close(); ++counter; Establishing a Client Establishing a Client Step 1 : create a Socket object To connect to the server Step 2 : to get OutputStream, InputStream object To get references to the Socket s associated InputStream and OutputStream Step 3 : the server and the client communicate Via the InputStream and OutputStream object Step 4 : the client close the connection By invoking the close method on the Socket 24
13 Establishing a Client - code... // // Step 1: 1: Create a Socket to to make connection. client = Socket( InetAddress.getLocalHost(), 5000 ); ); display.append( Connected to: to: + client.getinetaddress().gethostname() ); ); // // Step 2: 2: Get the input and output streams. input = DataInputStream( client.getinputstream() ); ); output = DataOutputStream( client.getoutputstream() ); ); display.append( \ngot I/O Streams\n ); ); // // Step 3: 3: Process connection. display.append( Server message: + input.readutf() ); ); display.append( \nsending message \Thank you.\\n ); ); output.writeutf( Thank you. ); ); // // Step 4: 4: Close connection. display.append( Transmission complete. + Closing connection.\n ); ); client.close(); TCP Socket(7) ( ) java.net ServerSocket ServerSocket(int port); ServerSocket(int port, int backlog); ServerSocket(int port, int backlog, InetAddress bindaddr); 26
14 TCP Socket(8) ( ) Backlog Argument, Backlog Backlog,. bindaddr Argument, 27 TCP Socket(9) ServerSocket (EchoServerTest) java.io.*; catch catch (IOException (IOException java.io.*; System.err. System.err. println(failure: println(failure: +; +; System.exit( EchoServerTest EchoServerTest System.exit( 1); 1); main(string[] main(string[] args) args) int int port=4444; port=4444; Socket Socket clientsocket clientsocket = null; null; PrintWriter ServerSocket ServerSocket serversocket serversocket = null; PrintWriter socketout socketout = null; PrintWriter(clientSocket.getOutputStream(), PrintWriter(clientSocket.getOutputStream(), tru; tru; BufferedReader if(args.length if(args.length == == 1) 1) BufferedReader socketin socketin = BufferedReader( BufferedReader( InputStreamReader(clientSocket.getInputStream())); InputStreamReader(clientSocket.getInputStream())); String port port = Integer. Integer. parseint(args[0]); String inputline; inputline; parseint(args[0]); catch(numberformatexception catch(numberformatexception while((inputline port port = 4444; while((inputline = socketin.readline()) socketin.readline())!=!= null) null) 4444; socketout.println(inputlin; socketout.println(inputlin; System.out.println( System.out.println( echo: echo: +inputlin; +inputlin; socketin.close(); socketin.close(); socketout.close(); serversocket serversocket = ServerSocket(port); socketout.close(); ServerSocket(port); clientsocket.close(); clientsocket clientsocket = serversocket.accept(); clientsocket.close(); serversocket.accept(); serversocket.close(); serversocket.close(); System.out.println( System.out.println( serversocket: serversocket: +serversocket); catch catch (IOException (IOException +serversocket); System.out.println(Failure: System.out.println( System.out.println( getlocalport: getlocalport: +serversocket.getlocalport()); System.out.println(Failure: +; +; +serversocket.getlocalport()); System.out.println(); System.out.println(); System.out.print( System.out.print( Connected Connected to: to: +clientsocket.getinetaddress()); +clientsocket.getinetaddress()); System.out.println( System.out.println( : : +clientsocket.getport()); +clientsocket.getport()); 28
15 TCP Socket(10) ServerSocket (EchoClientTest) System.out.println ( Connected to: +clientsocket.getinetaddress()); java.io.*; System.out.println ( Connected to: +clientsocket.getinetaddress()); java.io.*; System.out.println ( getport: +clientsocket.getport()); System.out.println ( getport: +clientsocket.getport()); System.out.println (getlocaladdress: +clientsocket.getlocaladdress()); System.out.println (getlocaladdress: +clientsocket.getlocaladdress()); System.out.println ( getlocalport: +clientsocket.getlocalport()); System.out.println ( getlocalport: +clientsocket.getlocalport()); EchoClientTest EchoClientTest System.out.print( : ); System.out.print( : ); main(string main(string args[]) while (( inputline = stdin.readline())!= null ) args[]) while (( inputline = stdin.readline())!= null ) int int port; if (inputline.equals(by) port; if (inputline.equals(by) Socket Socket clientsocket=null; break; clientsocket=null; break; PrintWriter PrintWriter socketout=null; socketout=null; socketout.println (inputlin; BufferedReader BufferedReader socketin=null; socketout.println (inputlin; socketin=null; System.out.println ( echo: + socketin.readline()); System.out.println ( echo: + socketin.readline()); System.out.print( : ); System.out.print( : ); if(args.length if(args.length < 2) 2) System.out.println([USAGE] System.out.println([USAGE] java java EchoClientTest EchoClientTest EchoServer EchoServer Port); Port); socketout.close(); socketout.close(); System.exit( System.exit( 1); 1); socketin.close(); socketin.close(); stdin.close(); stdin.close(); clientsocket.close(); clientsocket.close(); port port = Integer. Integer. parseint(args[1]); catch (UnknownHostException parseint(args[1]); catch (UnknownHostException System.out.println (Failure: +; catch(numberformatexception catch(numberformatexception System.out.println (Failure: +; System.exit(1); port port = 4444; System.exit(1); 4444; catch (Exception catch (Exception System.out.println (Failure: +; System.out.println (Failure: +; String String inputline; inputline; BufferedReader BufferedReader stdin stdin = BufferedReader( BufferedReader( InputStreamReader(System.in)); InputStreamReader(System.in)); clientsocket clientsocket = Socket(args[0], Socket(args[0], port); port); socketin socketin = BufferedReader( BufferedReader( InputStreamReader(clientSocket.getInputStream())); InputStreamReader(clientSocket.getInputStream())); socketout socketout = PrintWriter(clientSocket.getOutputStream(), PrintWriter(clientSocket.getOutputStream(), tru; tru; 29 TCP Socket(11) ( ) Socket Socket, I/O stream InputStream / OutputStream getinputstream / getoutputstream Socket(String host, int port); Socket(InetAddress address, int port); // // host,, // // port // // address IP Address 30
16 TCP Socket(12) Socket (1) java.io.*; java.io.*; EchoPortTest EchoPortTest final final int int ECHO_PORT=7; ECHO_PORT=7; main(string[] main(string[] args) args) Socket Socket socket socket = null; null; PrintWriter PrintWriter socketout socketout = null; null; BufferedReader BufferedReader socketin socketin = null; null; if(args.length if(args.length < 1) 1) System.out.println([USAGE] System.out.println([USAGE] java java EchoPortTest EchoPortTest EchoServer); EchoServer); System.exit( System.exit( 1); 1); socketin.close(); socketin.close(); socketout.close(); socketout.close(); socket.close(); socket.close(); catch(exception catch(exception System.out.println(Failure: +; +; String String inputline; inputline; BufferedReader BufferedReader stdin stdin = BufferedReader( BufferedReader( InputStreamReader(System.in)); InputStreamReader(System.in)); socket socket = Socket(args[0], Socket(args[0], EchoPortTest.ECHO_PORT); EchoPortTest.ECHO_PORT); socketin socketin = BufferedReader( BufferedReader( InputStreamReader(socket.getInputStream())); InputStreamReader(socket.getInputStream())); socketout socketout = PrintWriter(socket.getOutputStream(), PrintWriter(socket.getOutputStream(), tru; tru; while((inputline while((inputline = stdin.readline()) stdin.readline())!=!= null) null) socketout.println(inputlin; socketout.println(inputlin; System.out.println(echo: System.out.println(echo: + socketin.readline()); socketin.readline()); 31 TCP Socket(13) Socket (2) java.io.*; DayTimePortTest final final int intdaytime_port=13; main(string[ ]] args) args) Socket Socket socket socket = null; null; BufferedReader BufferedReader socketin= socketin= null; null; if(args.length if(args.length < 1) 1) System.out.println([USAGE] java javadaytimeporttest DayTimeServer); DayTimeServer); System.exit(1); System.exit(1); socket socket = Socket(args[0],DayTimePortTest.DAYTIME_PORT); socketin= socketin= BufferedReader(InputStreamReader(socket.getInputStream( ))); ))); System.out.println(Day Time: Time: + socketin.readline( socketin.readline( )); )); socketin.close( socketin.close( ); ); socket.close( socket.close( ); ); catch catch (Exception (Exception System.out.println(Failure: +; +; 32
17 UDP(1) UDP DatagramPacket, DatagramSocket 33 UDP(2) UDP / (UdpDayTimeServerTest) java.io.*; java.io.*; java.util.date; java.util.date; UdpDayTimeServerTest UdpDayTimeServerTest main(string[] main(string[] args) args) DatagramSocket DatagramSocket socket=null; socket=null; DatagramPacket DatagramPacket packetout=null; packetout=null; DatagramPacket DatagramPacket packetin=null; packetin=null; byte byte packetbuf[] packetbuf[] = byte[1024]; byte[1024]; String String datestring=null; datestring=null; socket socket = DatagramSocket(13); DatagramSocket(13); for(;;) for(;;) packetin packetin = DatagramPacket(packetBuf, DatagramPacket(packetBuf, 1024); 1024); socket.receive(packetin); socket.receive(packetin); datestring datestring = String( String( Date(). Date(). togmtstring()+\r\n); togmtstring()+\r\n); int int len len = datestring.length(); datestring.length(); int int port port =packetin.getport(); =packetin.getport(); InetAddress InetAddress inet inet = packetin.getaddress(); packetin.getaddress(); packetout packetout = DatagramPacket(dateString.getBytes(), DatagramPacket(dateString.getBytes(), len, len, inet, inet, port); port); socket.send( socket.send( packetout); packetout); System.out.println( System.out.println( Sending: Sending: + datestring); datestring); catch(ioexception catch(ioexception System.out.println(Failure: System.out.println(Failure: +; +; 34
18 UDP(3) UDP / (UdpDayTimeServerTest) java.io.*; java.io.*; UdpDayTimeClientTest UdpDayTimeClientTest main(string[] main(string[] args) args) DatagramSocket DatagramSocket socket=null; socket=null; DatagramPacket DatagramPacket packetout=null; packetout=null; DatagramPacket DatagramPacket packetin=null; packetin=null; byte byte packetbuf[] packetbuf[] = byte[1024]; byte[1024]; InetAddress InetAddress serverinet; serverinet; if(args.length if(args.length < 1) 1) System.out.println([USAGE] System.out.println([USAGE] java java UdpClockTest UdpClockTest DayTimeServer); DayTimeServer); System.exit( System.exit( 1); 1); socket socket = DatagramSocket(); DatagramSocket(); serverinet serverinet = InetAddress.getByName(args[0]); InetAddress.getByName(args[0]); packetout packetout = DatagramPacket(packetBuf, DatagramPacket(packetBuf, 2, 2, serverinet, serverinet, 13); 13); packetin packetin = DatagramPacket(packetBuf, DatagramPacket(packetBuf, 1024); 1024); socket.send( socket.send( packetout); packetout); socket.receive(packetin); socket.receive(packetin); String String daytime daytime = String(packetIn.getData(), String(packetIn.getData(), 0, 0, packetin.getlength()); packetin.getlength()); System.out.println(Day System.out.println(Day Time: Time: + daytim; daytim; socket.close(); socket.close(); catch(ioexception catch(ioexception System.out.println(Failure: System.out.println(Failure: +; +; 35 UDP(4) MulticastSocket IP IP D , UDP 36
19 UDP(5) // // join a Multicast group and send the the group salutations byte[ ]] msg msg = 'H', 'e', 'e','l', 'l', 'l', 'l','o'; InetAddress group = InetAddress.getByName ( ); MulticastSocket s = MulticastSocket(6789); s.joingroup(group); DatagramPacket hi hi = DatagramPacket(msg, msg.length, group, 6789); s.send(hi); // // get get their responses! byte[ ]] buf buf = byte[1000]; DatagramPacket recv = DatagramPacket(buf, buf.length); s.receive(recv); // // OK, I'm I'm done talking --leave the the group... s.leavegroup(group); 37 / (1) SMTP(Send Mail Transfer Protocol), SMTP. HELO localhost SMTP MAIL FROM: RCPT TO: DATA SUBJECT: >. QUIT 38
20 / (2) / Socket ServerSocket Chatting Server Chatting Client 39 / (3) Chatting Server Chatting Client Chatting Client 40
자바-11장N'1-502
C h a p t e r 11 java.net.,,., (TCP/IP) (UDP/IP).,. 1 ISO OSI 7 1977 (ISO, International Standards Organization) (OSI, Open Systems Interconnection). 6 1983 X.200. OSI 7 [ 11-1] 7. 1 (Physical Layer),
More information<4D F736F F F696E74202D20C1A63235C0E520B3D7C6AEBFF6C5A920C7C1B7CEB1D7B7A1B9D628B0ADC0C729205BC8A3C8AF20B8F0B5E55D>
Power Java 제 25 장네트워크프로그래밍 이번장에서학습할내용 네트워크프로그래밍의개요 URL 클래스 TCP를이용한통신 TCP를이용한서버제작 TCP를이용한클라이언트제작 UDP 를이용한통신 자바를이용하여서 TCP/IP 통신을이용하는응응프로그램을작성하여봅시다. 서버와클라이언트 서버 (Server): 사용자들에게서비스를제공하는컴퓨터 클라이언트 (Client):
More informationMicrosoft PowerPoint - Supplement-03-TCP Programming.ppt [호환 모드]
- Socket Programming in Java - 목차 소켓소개 자바에서의 TCP 프로그램작성방법 주요클래스와메소드 HTTP 프로토콜을이용한예제 에코프로그램 Q/A 에코프로그램 - EchoServer 에코프로그램 - EchoClient TCP Programming 1 소켓소개 IP, Port, and Socket 포트 (Port): 전송계층에서통신을수행하는응용프로그램을찾기위한주소
More informationMicrosoft PowerPoint - 04-UDP Programming.ppt
Chapter 4. UDP Dongwon Jeong djeong@kunsan.ac.kr http://ist.kunsan.ac.kr/ Dept. of Informatics & Statistics 목차 UDP 1 1 UDP 개념 자바 UDP 프로그램작성 클라이언트와서버모두 DatagramSocket 클래스로생성 상호간통신은 DatagramPacket 클래스를이용하여
More informationMicrosoft PowerPoint - 03-TCP Programming.ppt
Chapter 3. - Socket in Java - 목차 소켓소개 자바에서의 프로그램작성방법 주요클래스와메소드 HTTP 프로토콜을이용한예제 에코프로그램 에코프로그램 - EchoServer 에코프로그램 - EchoClient Q/A 1 1 소켓소개 IP,, and Socket 포트 (): 전송계층에서통신을수행하는응용프로그램을찾기위한주소 소켓 (Socket):
More information(Microsoft PowerPoint - AUTCHEYREGRG.ppt [\310\243\310\257 \270\360\265\345])
자바네트워크프로그래밍 학습내용 네트워킹의개요와 java.net 패키지 인터넷주소와 URL TCP 소켓 UDP 소켓 2 네트워킹의개요와 java.net 패키지 자바는사용자가네트웍의세부구조를몰라도네트웍기능을편리하게사용할수있는기능들을 java.net 패키지로제공 사용자는 java.net 패키지에서제공되는클래스들을이용하여네트워킹관련프로그램을작성 3 1. 네트워킹의개요와
More information<C0CCBCBCBFB52DC1A4B4EBBFF82DBCAEBBE7B3EDB9AE2D313939392D382E687770>
i ii iii iv v vi 1 2 3 4 가상대학 시스템의 국내외 현황 조사 가상대학 플랫폼 개발 이상적인 가상대학시스템의 미래상 제안 5 웹-기반 가상대학 시스템 전통적인 교수 방법 시간/공간 제약을 극복한 학습동기 부여 교수의 일방적인 내용전달 교수와 학생간의 상호작용 동료 학생들 간의 상호작용 가상대학 운영 공지사항,강의록 자료실, 메모 질의응답,
More informationPowerPoint Presentation
public class SumTest { public static void main(string a1[]) { int a, b, sum; a = Integer.parseInt(a1[0]); b = Integer.parseInt(a1[1]); sum = a + b ; // 두수를더하는부분입니다 System.out.println(" 두수의합은 " + sum +
More informationclass InetAddress3{ public static void main(string[] args) throws Exception{ String url = null ; Scanner reader = new Scanner(System.in); System.out.p
네트워크프로그램작성 -네트워크예제는새로운프로젝트를만든후에패키지르만들지않은상태에서작성한다. -프로그램의컴파일과실행은 명령프롬프트 에서한다. -자바파일의컴파일은 javac 파일이름.java" 와같이실행한다. -컴파일되어생성된클래스파일의실행은 java 파일이름 와같이실행한다. -소켓을이용한프로그램은항상 요청을받는역할 의프로그램과 요청을보내는역할 의프로그램이존재하므로,
More informationMicrosoft PowerPoint - java2-lecture7.ppt [호환 모드]
TCP/IP 소개 Application Layer (HTTP, FTP, SMTP, Telnet, ) Networking 514770 2018 년가을학기 11/12/2018 박경신 TCP/IP 프로토콜 Application Layer SMTP(Simple Mail Transfer Protocol), Telnet, FTP(File Transfer Protocol),
More information학습목표 네트워크개요 TCP PORT URL/InetAddress Socket/TCP 을이용한네트워크 2
Chapter 12 네트워크프로그래밍 New Java Programming with a Workbook 학습목표 네트워크개요 TCP PORT URL/InetAddress Socket/TCP 을이용한네트워크 2 Network 개요 네트워크 데이터전송프로토콜을가지고통신하는연결된장치들을총칭 네트워크망 3 TCP TCP (Transmission Control Protocol)
More information12-file.key
11 (String).. java.lang.stringbuffer. s String s = "abcd"; s = s + "e"; a b c d e a b c d e ,., "910359,, " "910359" " " " " (token) (token),, (delimiter). java.util.stringtokenizer String s = "910359,,
More informationSMB_ICMP_UDP(huichang).PDF
SMB(Server Message Block) UDP(User Datagram Protocol) ICMP(Internet Control Message Protocol) SMB (Server Message Block) SMB? : Microsoft IBM, Intel,. Unix NFS. SMB client/server. Client server request
More informationrmi_박준용_final.PDF
(RMI) - JSTORM http://wwwjstormpekr (RMI)- Document title: Document file name: Revision number: Issued by: Document Information (RMI)- rmi finaldoc Issue Date: Status:
More informationPowerPoint 프레젠테이션
명품 Java Essential 1 2 학습목표 1. 소켓통신에대한이해 2. 자바로간단한소켓통신프로그램작성 TCP/IP 소개 3 TCP/IP 프로토콜 두시스템간에데이터가손상없이안전하게전송되도록하는통신프로토콜 TCP 에서동작하는응용프로그램사례 e-mail, FTP, 웹 (HTTP) 등 TCP/IP 특징 연결형통신 한번연결후계속데이터전송가능 보낸순서대로받아응용프로그램에게전달
More information<4D F736F F F696E74202D20B3D7C6AEBFF6C5A9C7C1B7CEB1D7B7A1B9D65F FBCD2C4CF5FC3A4C6C35FBFA1C4DA2E BC8A3C8A
학습목표 자바의소켓포트의개념을이해한다 네트워크프로그래밍 클라이언트통신프로그램의구조를이해한다 소켓과클라이언트소켓을구분하여이해한다 11 주소켓 - 애코김문정 tops@u1.ac.kr 2 포트 (port) 데이터송수신창구 0~65536 (0~1024 : well-known port) ServerSocket 클래스 ( 소켓 ) ServerSocket 클래스에사용되는클래스
More information제1장 자바 언어 소개
Java Network 10.1 TCP/IP 이해 TCP/IP 프로토콜계층도 Applications Transport Internetwork IP Applications TCP/UDP ICMP ARP/RARP Network Interface and Hardware Network Interface and Hardware 10.1 TCP/IP 이해 TCP/IP
More information16장
16 네트워크 O b j e c t i v e s TCP/IP 프로토콜의개념을이해한다. 자바의소켓포트의개념을이해한다. 서버클라이언트통신프로그램의구조를이해한다. 서버소켓과클라이언트소켓을구분하여이해한다. URL 객체와 URLConnection 객체를활용할줄안다. 소켓프로그래밍을이해한다. 간단한채팅프로그램소스를통해소켓통신을이해한다. C H A P T E R JAVA
More information02 C h a p t e r Java
02 C h a p t e r Java Bioinformatics in J a va,, 2 1,,,, C++, Python, (Java),,, (http://wwwbiojavaorg),, 13, 3D GUI,,, (Java programming language) (Sun Microsystems) 1995 1990 (green project) TV 22 CHAPTER
More informationJMF2_심빈구.PDF
JMF JSTORM http://wwwjstormpekr Issued by: < > Document Information Document title: Document file name: Revision number: Issued by: JMF2_ doc Issue Date: Status: < > raica@nownurinet
More information6강.hwp
----------------6강 정보통신과 인터넷(1)------------- **주요 키워드 ** (1) 인터넷 서비스 (2) 도메인네임, IP 주소 (3) 인터넷 익스플로러 (4) 정보검색 (5) 인터넷 용어 (1) 인터넷 서비스******************************* [08/4][08/2] 1. 다음 중 인터넷 서비스에 대한 설명으로
More informationConnection 8 22 UniSQLConnection / / 9 3 UniSQL OID SET
135-080 679-4 13 02-3430-1200 1 2 11 2 12 2 2 8 21 Connection 8 22 UniSQLConnection 8 23 8 24 / / 9 3 UniSQL 11 31 OID 11 311 11 312 14 313 16 314 17 32 SET 19 321 20 322 23 323 24 33 GLO 26 331 GLO 26
More informationJMF3_심빈구.PDF
JMF JSTORM http://wwwjstormpekr Issued by: < > Revision: Document Information Document title: Document file name: Revision number: Issued by: JMF3_ doc Issue Date:
More informationÀ©µµ³×Æ®¿÷ÇÁ·Î±×·¡¹Ö4Àå_ÃÖÁ¾
P a 02 r t Chapter 4 TCP Chapter 5 Chapter 6 UDP Chapter 7 Chapter 8 GUI C h a p t e r 04 TCP 1 3 1 2 3 TCP TCP TCP [ 4 2] listen connect send accept recv send recv [ 4 1] PC Internet Explorer HTTP HTTP
More informationNetwork Programming
Part 4 자바네트워크프로그래밍 1. Java IO 2. 스레드 (Thread) 클래스의소개 3. Java Socket 1. 자바입출력 Java_source->src->ch11 1.0 I/O Stream
More informationJava
Java http://cafedaumnet/pway Chapter 1 1 public static String format4(int targetnum){ String strnum = new String(IntegertoString(targetNum)); StringBuffer resultstr = new StringBuffer(); for(int i = strnumlength();
More information<4D F736F F F696E74202D20C1A63234C0E520C0D4C3E2B7C228B0ADC0C729205BC8A3C8AF20B8F0B5E55D>
Power Java 제 24 장입출력 이번장에서학습할내용 스트림이란? 스트림의분류 바이트스트림 문자스트림 형식입출력 명령어행에서입출력 파일입출력 스트림을이용한입출력에대하여살펴봅시다. 스트림 (stream) 스트림 (stream) 은 순서가있는데이터의연속적인흐름 이다. 스트림은입출력을물의흐름처럼간주하는것이다. 스트림들은연결될수있다. 중간점검문제 1. 자바에서는입출력을무엇이라고추상화하는가?
More informationPowerPoint 프레젠테이션
@ Lesson 3 if, if else, if else if, switch case for, while, do while break, continue : System.in, args, JOptionPane for (,, ) @ vs. logic data method variable Data Data Flow (Type), ( ) @ Member field
More informationTCP.IP.ppt
TCP/IP TCP/IP TCP/IP TCP/IP TCP/IP Internet Protocol _ IP Address Internet Protocol _ Subnet Mask Internet Protocol _ ARP(Address Resolution Protocol) Internet Protocol _ RARP(Reverse Address Resolution
More informationSena Device Server Serial/IP TM Version
Sena Device Server Serial/IP TM Version 1.0.0 2005. 3. 7. Release Note Revision Date Name Description V1.0.0 2005-03-7 HJ Jeon Serial/IP 4.3.2 ( ) 210 137-130, : (02) 573-5422 : (02) 573-7710 email: support@sena.com
More information歯NetworkKawuiBawuiBo.PDF
(2000 12 Jr.) from Yongwoo s Park Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 1 Java Network KawuiBawuiBo Game Programming from Yongwoo s Park 2 1. /... 4 1.1 /...4 1.2 /...6 1.3...7
More information14-Servlet
JAVA Programming Language Servlet (GenericServlet) HTTP (HttpServlet) 2 (1)? CGI 3 (2) http://jakarta.apache.org JSDK(Java Servlet Development Kit) 4 (3) CGI CGI(Common Gateway Interface) /,,, Client Server
More informationPowerPoint 프레젠테이션
(Host) set up : Linux Backend RS-232, Ethernet, parallel(jtag) Host terminal Target terminal : monitor (Minicom) JTAG Cross compiler Boot loader Pentium Redhat 9.0 Serial port Serial cross cable Ethernet
More informationPowerPoint 프레젠테이션
@ Lesson 2... ( ). ( ). @ vs. logic data method variable behavior attribute method field Flow (Type), ( ) member @ () : C program Method A ( ) Method B ( ) Method C () program : Java, C++, C# data @ Program
More informationAPI STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Docum
API STORE 키발급및 API 사용가이드 Document Information 문서명 : API STORE 언어별 Client 사용가이드작성자 : 작성일 : 2012.11.23 업무영역 : 버전 : 1 st Draft. 서브시스템 : 문서번호 : 단계 : Document Distribution Copy Number Name(Role, Title) Date
More informationUSB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl C
USB USB DV25 DV25 REC SRN-475S REC SRN-475S LAN POWER LAN POWER Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC Step 1~5. Step, PC, DVR Step 1. Cable Step
More information<4D F736F F F696E74202D E20B3D7C6AEBFF6C5A920C7C1B7CEB1D7B7A1B9D62E >
웹프로그래밍및실습 ( g & Practice) 문양세강원대학교 IT 대학컴퓨터과학전공 소켓 (Socket) (1/2) Socket 이란? 서버와클라이언트가서로특정한규약을사용하여데이터를전송하기위한방식 서버와클라이언트는소켓연결을기다렸다가소켓이연결되면서로데이터를전송 현재네트워크상에서의모든통신의근간은 Socket 이라할수있음 Page 2 1 소켓 (Socket) (2/2)
More informationMicrosoft PowerPoint - [EEL2] Lab10.pptx
Lab10 (Week 13) 네트워크프로그래밍 전자공학실험 2 Week13: 실습과제 (Lab10) Lab10 #1~#4 실습일실습시간종료시까지이메일로제출 이메일제목 : [EEL2] Lab10-Part1 Lab10 #5~#7 다음주실습시간시작시하드카피 ( 리포트 ) 로제출 리포트제목 : [EEL2] Lab10-Part2 최소 1 시간은실습실에서실습을진행해야합니다.
More informationPWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (
PWR PWR HDD HDD USB USB Quick Network Setup Guide xdsl/cable Modem PC DVR 1~3 1.. DVR DVR IP xdsl Cable xdsl Cable PC PC DDNS (http://ddns.hanwha-security.com) Step 1~5. Step, PC, DVR Step 1. Cable Step
More informationInterstage5 SOAP서비스 설정 가이드
Interstage 5 Application Server ( Solaris ) SOAP Service Internet Sample Test SOAP Server Application SOAP Client Application CORBA/SOAP Server Gateway CORBA/SOAP Gateway Client INTERSTAGE SOAP Service
More informationFileMaker ODBC and JDBC Guide
FileMaker 13 5 5 5 6 6 6 7 7 8 8 8 8 9 9 10 10 11 11 12 12 12 12 12 12 13 13 14 14 16 16 18 4 19 19 20 20 21 21 21 23 23 23 23 25 26 26 26 26 27 28 28 28 28 29 31 31 32 33 33 33 33 34 34 35 35 35 36 1
More informationPowerPoint Presentation
Package Class 1 Heeseung Jo 목차 section 1 패키지개요와패키지의사용 section 2 java.lang 패키지의개요 section 3 Object 클래스 section 4 포장 (Wrapper) 클래스 section 5 문자열의개요 section 6 String 클래스 section 7 StringBuffer 클래스 section
More information6주차.key
6, Process concept A program in execution Program code PCB (process control block) Program counter, registers, etc. Stack Heap Data section => global variable Process in memory Process state New Running
More informationuntitled
CAN BUS RS232 Line Ethernet CAN H/W FIFO RS232 FIFO IP ARP CAN S/W FIFO TERMINAL Emulator COMMAND Interpreter ICMP TCP UDP PROTOCOL Converter TELNET DHCP C2E SW1 CAN RS232 RJ45 Power
More information07 자바의 다양한 클래스.key
[ 07 ] . java.lang Object, Math, String, StringBuffer Byte, Short, Integer, Long, Float, Double, Boolean, Character. java.util Random, StringTokenizer Calendar, GregorianCalendar, Date. Collection, List,
More informationmytalk
한국정보보호학회소프트웨어보안연구회 총괄책임자 취약점분석팀 안준선 ( 항공대 ) 도경구 ( 한양대 ) 도구개발팀도경구 ( 한양대 ) 시큐어코딩팀 오세만 ( 동국대 ) 전체적인 그림 IL Rules Flowgraph Generator Flowgraph Analyzer 흐름그래프 생성기 흐름그래프 분석기 O parser 중간언어 O 파서 RDL
More informationhd1300_k_v1r2_Final_.PDF
Starter's Kit for HelloDevice 1300 Version 11 1 2 1 2 3 31 32 33 34 35 36 4 41 42 43 5 51 52 6 61 62 Appendix A (cross-over) IP 3 Starter's Kit for HelloDevice 1300 1 HelloDevice 1300 Starter's Kit HelloDevice
More informationFileMaker ODBC 및 JDBC 가이드
FileMaker ODBC JDBC 2004-2019 FileMaker, Inc.. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker, FileMaker Cloud, FileMaker Go FileMaker, Inc.. FileMaker WebDirect FileMaker,
More information歯2000-09-Final.PDF
Design Pattern - API JSTORM http://www.jstorm.pe.kr -1- java API 2000-08-14 Public 2000-08-16 Draft (dbin@handysoft.co.kr), (pam@emotion.co.kr) HISTORY (csecau@orgio.net) 2001/2/15 9 10 jstorm
More informationChap12
12 12Java RMI 121 RMI 2 121 RMI 3 - RMI, CORBA 121 RMI RMI RMI (remote object) 4 - ( ) UnicastRemoteObject, 121 RMI 5 class A - class B - ( ) class A a() class Bb() 121 RMI 6 RMI / 121 RMI RMI 1 2 ( 7)
More informationFileMaker 15 ODBC 및 JDBC 설명서
FileMaker 15 ODBC JDBC 2004-2016 FileMaker, Inc.. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker FileMaker Go FileMaker, Inc.. FileMaker WebDirect FileMaker, Inc... FileMaker.
More information05-class.key
5 : 2 (method) (public) (private) (interface) 5.1 (Method), (public method) (private method) (constructor), 3 4 5.2 (client). (receiver)., System.out.println("Hello"); (client object) (receiver object)
More information3ÆÄÆ®-11
Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 C # N e t w o r k P r o g r a m m i n g Part 3 _ chapter 11 ICMP >>> 430 Chapter 11 _ 1 431 Part 3 _ 432 Chapter 11 _ N o t
More informationchapter4
Basic Netw rk 1. ก ก ก 2. 3. ก ก 4. ก 2 1. 2. 3. 4. ก 5. ก 6. ก ก 7. ก 3 ก ก ก ก (Mainframe) ก ก ก ก (Terminal) ก ก ก ก ก ก ก ก 4 ก (Dumb Terminal) ก ก ก ก Mainframe ก CPU ก ก ก ก 5 ก ก ก ก ก ก ก ก ก ก
More informationNetwork seminar.key
Intro to Network .. 2 4 ( ) ( ). ?!? ~! This is ~ ( ) /,,,???? TCP/IP Application Layer Transfer Layer Internet Layer Data Link Layer Physical Layer OSI 7 TCP/IP Application Layer Transfer Layer 3 4 Network
More information슬라이드 1
Computer Networks Practice Socket 1 DK Han Junghwan Song dkhan@mmlab.snu.ac.kr jhsong@mmlab.snu.ac.kr 2012-3-26 Multimedia and Mobile communications Laboratory Introduction Client / Server model Server
More informationCluster management software
자바네트워크프로그래밍 (OCJP 국제공인자격취득중심 ) 충북대학교 최민 기본예제 예외클래스를정의하고사용하는예제 class NewException extends Exception { public class ExceptionTest { static void methoda() throws NewException { System.out.println("NewException
More information자바 프로그래밍
5 (kkman@mail.sangji.ac.kr) (Class), (template) (Object) public, final, abstract [modifier] class ClassName { // // (, ) Class Circle { int radius, color ; int x, y ; float getarea() { return 3.14159
More information쿠폰형_상품소개서
브랜드이모티콘 쿠폰형 상품 소개서 카카오톡 브랜드이모티콘 잘 만든 브랜드이모티콘 하나, 열 마케팅 부럽지 않다! 카카오톡 브랜드이모티콘은 2012년 출시 이후 강력한 마케팅 도구로 꾸준히 사랑 받고 있습니다. 브랜드 아이덴티티를 잘 반영하여 카카오톡 사용자의 적극적인 호응과 브랜딩 지표 향상을 얻고 있는 강력한 브랜드 아이템입니다. Open
More informationChap7.PDF
Chapter 7 The SUN Intranet Data Warehouse: Architecture and Tools All rights reserved 1 Intranet Data Warehouse : Distributed Networking Computing Peer-to-peer Peer-to-peer:,. C/S Microsoft ActiveX DCOM(Distributed
More information10X56_NWG_KOR.indd
디지털 프로젝터 X56 네트워크 가이드 이 제품을 구입해 주셔서 감사합니다. 본 설명서는 네트워크 기능 만을 설명하기 위한 것입니다. 본 제품을 올바르게 사 용하려면 이 취급절명저와 본 제품의 다른 취급절명저를 참조하시기 바랍니다. 중요한 주의사항 이 제품을 사용하기 전에 먼저 이 제품에 대한 모든 설명서를 잘 읽어 보십시오. 읽은 뒤에는 나중에 필요할 때
More informationOPCTalk for Hitachi Ethernet 1 2. Path. DCOMwindow NT/2000 network server. Winsock update win95. . . 3 Excel CSV. Update Background Thread Client Command Queue Size Client Dynamic Scan Block Block
More information1217 WebTrafMon II
(1/28) (2/28) (10 Mbps ) Video, Audio. (3/28) 10 ~ 15 ( : telnet, ftp ),, (4/28) UDP/TCP (5/28) centralized environment packet header information analysis network traffic data, capture presentation network
More informationuntitled
Embedded System Lab. II Embedded System Lab. II 2 RTOS Hard Real-Time vs Soft Real-Time RTOS Real-Time, Real-Time RTOS General purpose system OS H/W RTOS H/W task Hard Real-Time Real-Time System, Hard
More informationSK IoT IoT SK IoT onem2m OIC IoT onem2m LG IoT SK IoT KAIST NCSoft Yo Studio tidev kr 5 SK IoT DMB SK IoT A M LG SDS 6 OS API 7 ios API API BaaS Backend as a Service IoT IoT ThingPlug SK IoT SK M2M M2M
More informationAnalytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Cras
Analytics > Log & Crash Search > Unity ios SDK [Deprecated] Log & Crash Unity ios SDK. TOAST SDK. Log & Crash Unity SDK Log & Crash Search. Log & Crash Unity SDK... Log & Crash Search. - Unity3D v4.0 ios
More information슬라이드 제목 없음
(JTC1/SC6) sjkoh@knu.ac.kr JTC1 JTC1/SC6/WG7 ECTP/RMCP/MMC (JTC1/SC6) 2/48 JTC1 ISO/IEC JTC1 Joint Technical Committee 1 ( ) ISO/TC 97 ( ) IEC/TC 83 ( ) Information Technology (IT) http://www.jtc1.org
More informationSRC PLUS 제어기 MANUAL
,,,, DE FIN E I N T R E A L L O C E N D SU B E N D S U B M O TIO
More information비긴쿡-자바 00앞부속
IT COOKBOOK 14 Java P r e f a c e Stay HungryStay Foolish 3D 15 C 3 16 Stay HungryStay Foolish CEO 2005 L e c t u r e S c h e d u l e 1 14 PPT API C A b o u t T h i s B o o k IT CookBook for Beginner Chapter
More information12-file.key
11 2 ,, (Generic) (Collection) : : : :? (String).. java.lang.stringbuffer. s String s = "abcd"; s = s + "e"; a b c d e a b c d e ,., "910359,, " "910359" " " " " (token) (token),, (delimiter). java.util.stringtokenizer
More information03-JAVA Syntax(2).PDF
JAVA Programming Language Syntax of JAVA (literal) (Variable and data types) (Comments) (Arithmetic) (Comparisons) (Operators) 2 HelloWorld application Helloworldjava // class HelloWorld { //attribute
More informationPowerPoint 프레젠테이션
@ Lesson 1,..... @ 1 Green Project 1991 Oak Java 1995. 5 December '90 by Patrick Naughton, Mike Sheridan and James Gosling Embedded in various consumer electronic device 1992. 9. 3 Star 7 1993 www portability
More informationMicrosoft Word - KPMC-400,401 SW 사용 설명서
LKP Ethernet Card SW 사용설명서 Version Information Tornado 2.0, 2.2 알 림 여기에실린내용은제품의성능향상과신뢰도의증대를위하여예고없이변경될수도있습니다. 여기에실린내용의일부라도엘케이일레븐의사전허락없이어떠한유형의매체에복사되거나저장될수없으며전기적, 기계적, 광학적, 화학적인어떤방법으로도전송될수없습니다. 엘케이일레븐경기도성남시중원구상대원동
More information1
1 1....6 1.1...6 2. Java Architecture...7 2.1 2SDK(Software Development Kit)...8 2.2 JRE(Java Runtime Environment)...9 2.3 (Java Virtual Machine, JVM)...10 2.4 JVM...11 2.5 (runtime)jvm...12 2.5.1 2.5.2
More informationSubnet Address Internet Network G Network Network class B networ
Structure of TCP/IP Internet Internet gateway (router) Internet Address Class A Class B Class C 0 8 31 0 netid hostid 0 16 31 1 0 netid hostid 0 24 31 1 1 0 netid hostid Network Address : (A) 1 ~ 127,
More informationMasoJava4_Dongbin.PDF
JSTORM http://wwwjstormpekr Issued by: < > Revision: Document Information Document title: Document file name: MasoJava4_Dongbindoc Revision number: Issued by: < > SI, dbin@handysoftcokr
More informationRemote UI Guide
Remote UI KOR Remote UI Remote UI PDF Adobe Reader/Adobe Acrobat Reader. Adobe Reader/Adobe Acrobat Reader Adobe Systems Incorporated.. Canon. Remote UI GIF Adobe Systems Incorporated Photoshop. ..........................................................
More informationSS Term #3.doc
Base Knowledge 1/42 Base Knowledge 2/42 Network Initialization 3/42 Network Initialization 4/42 Network Initialization 5/42 Network Initialization 6/42 Network Initialization 7/42 Network Initialization
More information목차 INDEX JSON? - JSON 개요 - JSONObject - JSONArray 서울시공공데이터 API 살펴보기 - 요청인자살펴보기 - Result Code - 출력값 HttpClient - HttpHelper 클래스작성 - JSONParser 클래스작성 공공
메신저의새로운혁신 채팅로봇 챗봇 (Chatbot) 입문하기 소 이 메 속 : 시엠아이코리아 름 : 임채문 일 : soulgx@naver.com 1 목차 INDEX JSON? - JSON 개요 - JSONObject - JSONArray 서울시공공데이터 API 살펴보기 - 요청인자살펴보기 - Result Code - 출력값 HttpClient - HttpHelper
More informationMicrosoft PowerPoint - Java7.pptx
HPC & OT Lab. 1 HPC & OT Lab. 2 실습 7 주차 Jin-Ho, Jang M.S. Hanyang Univ. HPC&OT Lab. jinhoyo@nate.com HPC & OT Lab. 3 Component Structure 객체 (object) 생성개념을이해한다. 외부클래스에대한접근방법을이해한다. 접근제어자 (public & private)
More information제20회_해킹방지워크샵_(이재석)
IoT DDoS DNS (jaeseog@sherpain.net) (www.sherpain.net) DDoS DNS DDoS / DDoS(Distributed DoS)? B Asia Broadband B Bots connect to a C&C to create an overlay network (botnet) C&C Provider JP Corp. Bye Bye!
More informationo o o 8.2.1. Host Error 8.2.2. Message Error 8.2.3. Recipient Error 8.2.4. Error 8.2.5. Host 8.5.1. Rule 8.5.2. Error 8.5.3. Retry Rule 8.11.1. Intermittently
More informationbn2019_2
arp -a Packet Logging/Editing Decode Buffer Capture Driver Logging: permanent storage of packets for offline analysis Decode: packets must be decoded to human readable form. Buffer: packets must temporarily
More informationChap06(Interprocess Communication).PDF
Interprocess Communication 2002 2 Hyun-Ju Park Introduction (interprocess communication; IPC) IPC data transfer sharing data event notification resource sharing process control Interprocess Communication
More informationFileMaker ODBC and JDBC Guide
FileMaker 14 5 5 5 5 6 6 6 7 7 7 8 8 8 9 9 10 10 11 11 12 12 12 12 12 13 13 14 15 16 17 18 18 19 19 20 20 20 21 21 21 22 22 22 22 23 24 24 24 24 25 27 27 28 29 29 29 29 30 30 31 31 31 32 1 1 1 1 1 1 1
More informationVoice Portal using Oracle 9i AS Wireless
Voice Portal Platform using Oracle9iAS Wireless 20020829 Oracle Technology Day 1 Contents Introduction Voice Portal Voice Web Voice XML Voice Portal Platform using Oracle9iAS Wireless Voice Portal Video
More informationuntitled
- -, (insert) (delete) - - (insert) (delete) (top ) - - (insert) (rear) (delete) (front) A A B top A B C top push(a) push(b) push(c) A B top pop() top A B D push(d) top #define MAX_STACK_SIZE 100 int
More informationMicrosoft PowerPoint - Lecture_Note_5.ppt [Compatibility Mode]
TCP Server/Client Department of Computer Engineering Kyung Hee University. Choong Seon Hong 1 TCP Server Program Procedure TCP Server socket() bind() 소켓생성 소켓번호와소켓주소의결합 listen() accept() read() 서비스처리, write()
More informationMicrosoft PowerPoint - AUTOMATING BESPOKE ATTACKS.pptx
AUTOMATING BESPOKE ATTACKS ENUMERATING VALID IDENTIFIERS 2010. 6. 9. 조소희 차례 유효한식별자나열하기 유효한식별자나열을통한맞춤자동공격법 유효한식별자탐지 스크립트를이용한공격 JAttack 공격 1: 식별자나열하기 유효한식별자나열하기 이름 / 식별자를부분혹은전부알아내서공격에이용 로그인기능이유용한정보를담은메시지를넘겨주는경우
More information歯9장.PDF
9 Hello!! C printf() scanf() getchar() putchar() gets() puts() fopen() fclose() fprintf() fscant() fgetc() fputs() fgets() gputs() fread() fwrite() fseek() ftell() I/O 2 (stream) C (text stream) : `/n'
More informationThe Pocket Guide to TCP/IP Sockets: C Version
얇지만얇지않은 TCP/IP 소켓프로그래밍 C 2 판 4 장 UDP 소켓 제 4 장 UDP 소켓 4.1 UDP 클라이언트 4.2 UDP 서버 4.3 UDP 소켓을이용한데이터송싞및수싞 4.4 UDP 소켓의연결 UDP 소켓의특징 UDP 소켓의특성 싞뢰할수없는데이터젂송방식 목적지에정확하게젂송된다는보장이없음. 별도의처리필요 비연결지향적, 순서바뀌는것이가능 흐름제어 (flow
More informationMicrosoft PowerPoint - web-part03-ch19-node.js기본.pptx
과목명: 웹프로그래밍응용 교재: 모던웹을 위한 JavaScript Jquery 입문, 한빛미디어 Part3. Ajax Ch19. node.js 기본 2014년 1학기 Professor Seung-Hoon Choi 19 node.js 기본 이 책에서는 서버 구현 시 node.js 를 사용함 자바스크립트로 서버를 개발 다른서버구현기술 ASP.NET, ASP.NET
More information01-OOPConcepts(2).PDF
Object-Oriented Programming Concepts Tel: 02-824-5768 E-mail: hhcho@selabsoongsilackr? OOP (Object) (Encapsulation) (Message) (Class) (Inheritance) (Polymorphism) (Abstract Class) (Interface) 2 1 + = (Dependency)
More informationNoSQL
MongoDB Daum Communications NoSQL Using Java Java VM, GC Low Scalability Using C Write speed Auto Sharding High Scalability Using Erlang Read/Update MapReduce R/U MR Cassandra Good Very Good MongoDB Good
More informationSwitching
Switching 강의의목표 Switching/Switching Network의필요성을이해한다. 세가지대표적교환기술에열거하고그차이를설명할수있다. 각교환기술의장, 단점을비교하여설명할수있다. Packet Switching 에서 Fairness 문제와 Pipelining 을 패킷크기와연계하여설명할수있다. Soft Switch 개념을이해하고설명할수있다. 교재 Chapter
More informationJavascript.pages
JQuery jquery part1 JavaScript : e-mail:leseraphina@naver.com http://www.webhard.co.kr I.? 2 ......,,. : : html5 ; ; .
More informationJ2EE Concepts
! Introduction to J2EE (1) - J2EE Servlet/JSP/JDBC iseminar.. 1544-3355 ( ) iseminar Chat. 1 Who Are We? Business Solutions Consultant Oracle Application Server 10g Business Solutions Consultant Oracle10g
More information09-Java Input Output
JAVA Programming Language JAVA Input/Output 2 (1) (Stream) 2,,,,, 3 (2) InputStream OutputStream, 8 Reader Writer, 16 4 (3) Data Source/Dest. (byte stream) InputStream OutputStream Java Internal (byte,
More informationContents Contents 2 1 Abstract 3 2 Infer Checkers Eradicate Infer....
SV2016 정적분석보고서 201214262 라가영 201313250 서지혁 June 9, 2016 1 Contents Contents 2 1 Abstract 3 2 Infer 3 2.1 Checkers................................ 3 2.2 Eradicate............................... 3 2.3 Infer..................................
More information2009년 상반기 사업계획
소켓프로그래밍활용 IT CookBook, 유닉스시스템프로그래밍 학습목표 소켓인터페이스를활용한다양한프로그램을작성할수있다. 2/23 목차 TCP 기반프로그래밍 반복서버 동시동작서버 동시동작서버-exec함수사용하기 동시동작서버-명령행인자로소켓기술자전달하기 UDP 프로그래밍 3/23 TCP 기반프로그래밍 반복서버 데몬프로세스가직접모든클라이언트의요청을차례로처리 동시동작서버
More information