Socket client creates callback connections
|Reported by:||Jiri Svoboda||Owned by:|
|Blocker for:||Depends on:|
Socket client code (uspace/lib/c/generic/net/socket_client.c) creates callback connections to receive packets from the socket providers.
Instead of simply implementing recv()/recvfrom() using blocking IPC calls, the code receives data from sockets via incoming calls from the socket provider (and queuing them).
This is inappropriate and can lead to problems. An application is not a server and need not process incoming calls. Also, if the application does not process the incoming calls, the socket provider could get blocked.