TCP网络中,使用流式套接字编程时,为了向对方发送数据,则需要使用哪个方法( )
getInetAddress()
getLocalPort()
getOutputStream()
getInputStream()