while(!quit){
vector.push_back (incoming connection);
makeThreadFor(incoming connection);
}
ThreadForConnections(socket info){
SOCKET sockTwo = manager.add_sock(info);
//manager is an instance of a class that manages pairs of connections
while(!quit){
instring = receiveString(info);
handleString(instring);
}
}
This is horrible, the objective-c code to update the view of my text translates from an nsstring to javascript and the javascript is supposed to append the html code of my text... yikes.
Still working away, I've been ready for upload for a while, just spiffing it up now.
Current feature list:
stranger chat
simplicity for ease of use, complexity for added content
language filtering [blacklist]
portrait/landscape modes
little memory consumption
peer to peer connections
pretty colors =)
simple concise help menu
autoupdating server definitions
to add:
saving/loading conversations
direct developer support (if avail)
own blacklist
second non-clean server (maaaybe)
more pretty colors =)
Can you think of anything else that would improve the epic awesomeness?