check this pseudo code for an Ident server, would I have this on a separate thread constantly looping or would I just have it waiting for a connection on the main loop?
Were can I get some more solid knowledge on whats happening here?
1 2 3 4 5 6 7 8 9 10 11 12
//ident server function
void ident_server(int port) {
boolean sent = false;
Server ident = new Server(113);
while (sent==false) {
client.listening();
if (client!=null) {
ident.write("113,"+port+": USERID : UNIX : devonrevenge");
sent = true;
}
}
}