摘要 |
<p>A wireless communication method is provided to attempt communication connection with a remote host in non-blocking mode and set connection or termination waiting time, thereby shortening connection or terminal time. Communication socket mode of a communication device is converted into non-blocking mode. The communication device attempts connection with a remote host(S220). When the connection is succeeded, the communication socket mode is converted into blocking mode and connection success is notified(S250). When terminating the connection, connection termination with the remote host is attempted. When data does not remain in a transfer buffer, connection with the remote host is terminated.</p> |