Vote count:
0
After a ServerSocket accepts a connection to a client, can the ServerSocket start writing data to the client before the client sends a message? When I try to write to the client from the ServerSocket first, the client is blocking forever tyring to read it. However, if have the client send a message to the server first, the I/O streams between them work OK.
asked 38 secs ago
Can ServerSocket write to client before reading from client?
Aucun commentaire:
Enregistrer un commentaire