M
Markus Pitha
Hello,
I want to try to program a little server.
I already managed it to send a login message to the connected user, but
I wonder how it works to get information about the connection itself?
With this information, I want to close sockets, which are not in use
anymore (because of quitting by the client).
What's the usual way of programming things like that? I mean, which
return value of which command is usually used for things like that?
I'm using C with Linux.
I want to try to program a little server.
I already managed it to send a login message to the connected user, but
I wonder how it works to get information about the connection itself?
With this information, I want to close sockets, which are not in use
anymore (because of quitting by the client).
What's the usual way of programming things like that? I mean, which
return value of which command is usually used for things like that?
I'm using C with Linux.