单项选择题

使用流式套接字编程时,为了向对方发送数据,则需要使用哪个方法()

A.getInetAddress()
B.getLocalPort()
C.getOutputStream()
D.getInputStream()