2 way communication using Stream Socket (TCP like) RRS feed

  • Question

  • I created a client and a server(listener) using StreamSocket .In server StreamSocketListener are assigned the ConnectionReceivedevent to an event handler. Client can connect and send data successfully to sever and server(listener) also able to receive it. But server(StreamSocketListener) can not send "Reply" to client(StreamSocket).

    Client knows server IP & port and how server send reply to client after receiving message from client?

    I able to get source IP & port address inside the server  but failed to send reply. How can server give the response ??

    By the way, Is it possible to send and receive simultaneously at same time using same socket in WinRT ???

    Thursday, August 9, 2012 3:54 PM


All replies