I guess my sleep(3) didn't solve the problem after all. I did the Exception as e statement and the client gives ERRNO 103, connection aborted. Sometimes I can get a successful connection and other times I cannot. When I do get a connection, it is usually about 10 or so seconds after the servers.accept() statement is executed. I would have expected the sockets to be connected quickly rather than taking that sort of time (but I am new to this client/server interaction).
Statistics: Posted by dondondon — Sun Mar 03, 2024 2:32 am