org.kwis.msf.io
Class Network

java.lang.Object
  |
  +--org.kwis.msf.io.Network

public class Network
extends Object

응용 프로그램이 TCP/IP 인터넷 통신을 하기 위한 인터넷 접근 API 를 모은 것이다.


Constructor Summary
Network()
           
 
Method Summary
static int connect()
          TCP/IP 인터넷 접근을 시도한다.
static void disconnect()
          TCP/IO 인터넷 접근을 종료한다.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Network

public Network()
Method Detail

connect

public static int connect()
TCP/IP 인터넷 접근을 시도한다.
Returns:
현재 접근이 가능하다면 0을 돌려주고, 접근되어 있지 않은 상태에서 접근에 성공하면 1을 돌려준다. 만일 실패하면 -1을 돌려준다

disconnect

public static void disconnect()
TCP/IO 인터넷 접근을 종료한다.


AromaSoft Corp. Proprietary and Confidential

(C)opyright 2003 AromaSoft Corp. All right reserved.
Contact : contact@aromasoft.com