How works sendCommand?

折月煮酒 提交于 2019-12-24 06:35:29

问题


I don't understand sendCommand I have to convert a string to byte to execute in this code

public void sendCommand(byte command) 
   throws IOException, IllegalArgumentException

Sends a command byte to the remote peer, adding the IAC prefix. This method does not wait for any response. Messages sent by the remote end can be handled by registering an appropriate TelnetOptionHandler.

Parameters: command - the code for the command

来源:https://stackoverflow.com/questions/17926779/how-works-sendcommand

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!