![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
With the socket-based connection fully established, the server can write to the socket, as though that client were writing to a file, and what the server writes can be read by the client, as though it were reading from a file.
Because socket-based communications are bidirectional, the client not only can read, but also can write, and the server not only can write, but also can read.