스마트웹앱콘텐츠전문가/JAVA

[2.5] 교육(소켓)

9D4U 2016. 2. 5. 11:51
728x90
반응형


[InetAddress 클래스] : IP주소를 표현할 때 사용하는 클래스
InetAddress 와 throsw UnknownHostException

  (메서드)

getLocalHostName()??? 로컬컴퓨터 이름(호스트 이름을 문자열로 반환)
getHostAddress()?? : 로컬 ip 주소(ip즈소를 반환)
getByName()???? : 도메인/대표적인 ip주소
getAllByName()???? : 도메인/모든 ip주소

자료 더보기 : http://rahxephon.tistory.com/884

 

 


[Socket 클래스]
flush()????
Exception Ignored???

 

소켓 더보기 :
http://rahxephon.tistory.com/884
http://egloos.zum.com/ultteky/v/3945848
http://blog.jdm.kr/154


소켓 arrayindexoutofbounds

 

 

 

 

 

===========================================================================================

서버의 전송할 내용이 여러 줄 일 경우 : newLine() 메서드?

 

 

 

 

 

 

728x90

'스마트웹앱콘텐츠전문가 > JAVA' 카테고리의 다른 글

[2.10] 다중채팅 구현하기2  (0) 2016.02.10
[2.10]다중 채팅 구현하기  (0) 2016.02.10
[2.4]교육  (0) 2016.02.04
2/2 교육  (0) 2016.02.02
1.29 교육  (0) 2016.01.29