| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10
Comments:
<0> i dont know <1> ewww, that is horrible. <0> why? <1> kthx`: fix the crashing first, then you can worry about client flooding. <0> enlighten me mastaa. <0> huh? <0> ahhh <0> hmm <1> flood control is all about eliminating resource starvation, not about preventing crashes. <0> yeah im testing sumthin now <0> seems to crash at like 200 charcters + <0> hmmm <0> wtf <0> how can an array of 512 charcters with winsock be able to show more than 512 charcters? <0> winsock recv*
<2> it happens <0> oh wait my bad <0> its like splitting it up <0> interesting.... <1> streams don't have boundaries. <3> i need to read a line from a txt file to a string. there must be no limit on how long the string is. the only way i no how to do this is fgets(line, MAX_LINE_SIZE, infile). this string is limited by MAX_LINE_SIZE. how can i make it unlimited? <4> By reading more than once. <0> eh <3> and then using malloc and strcat? <4> Why even ask when you allready know the answer? <3> i didnt know the answer, i just figured it out <3> with your help <4> xHitmanx: Well, you're welcome :) <4> xHitmanx: You could also fake a growing-array implementation to hide the nasty allocation-stuff. <0> wewt <0> found my error <0> code: 0, kthx` 1 <0> can anyone help me on flood control within a chat server> <0> ? <0> =[ <0> oh btw <0> anyone know the strings for irc colors in ascii? <1> ascii doesn't have colors. <1> some terminals do, but it hardly makes sense to ***ume the client terminal type. <0> nah its just <0> i want to filter my recvd bufer <0> for my chatserver <0> so then id need to know the color values <2> ascii value for color codes is 3 <0> eh? <1> unlikely. <2> chr(3) + 0,3 = hello <0> i meant irc colors <0> :O <1> irc doesn't have colors. <1> mirc does. <0> ... <0> im meant the data sent through <2> twkm: most IRC clients have colors nowadays <1> some other clients do too, some of which use the mirc notion, others use their own thing. <1> some send ansi/ecma escapes. <5> Good day to you everyone! <2> Hello sir! <6> calc color <7> <OGL> C is limited to 16 colors <6> calc bold <7> Bold, underline, hightlighted, italicized, and otherwise attributed colons, commas, semicolons, and other punctuations and characters are rough on the eyes on somefolks terms, annoying on others, so please DO NOT USE THEM ...this is your last warning -- BitchX'ers type: /fset nick_comp $0:$1- /fset nick_auto $0:$1- mIRC'ers type: /remote off <2> whats a good way to randomize a 16-digit number? i dont like how srand() and rand() work <1> arithmetically <8> if you used linux it would be /dev/random or /dev/urandom. <2> freebsd, i dont have those :( <8> too bad <8> I know as much about freebsd as you know about martians. so I can't help <9> No /dev/urandom on FreeBSD? <2> hmm, sec <8> I thought it had /dev/random <9> I'm pretty sure it should have both. <2> ok, i have it bu this is what happens <2> crwxrwxrwx 1 root wheel 249, 0 Jun 18 02:57 random <2> lrwxr-xr-x 1 root wheel 6 Jun 18 02:57 urandom -> random <2> -bash-2.05b# ./random
<2> -bash: ./random: Permission denied <9> Yes, it's not an executable, it's a device. (Well, a "device". <9> Read the relevant manual. <2> *shy* ;) <2> ah, far more better, thank you <0> rand() is leet <9> BoR0, anyway, you don't really need anything other than rand(), unless you're doing crypto-related stuff. <6> Uh, rand() ****s for randomized algorithms. <0> why? <0> hund.....WHY <6> Because it's often a very plain LCRNG. <2> when you run something with system(); does the program that executes it halt until the called program ends? <9> hund, how would that matter? <8> BoR0, yes <2> great <6> KidArt: They're very predictable. <9> hund, so? It shouldn't matter, in expectation. <6> The least significant bit has a period of 2, the next has 4, etc. <1> BoR0: usually. it depends on the underlying system though. <10> can anybody try 2-liner main() on freebsd ? <11> hi can some one explain how strncpy works, because im trying to compare the start of two strings and it dosent say they're equal <2> strncpy copies them not compare <2> you're looking forstrcmp <11> oops i meant strncmp <11> LOL i did put that in code too <11> wow that was dumb.. oh well <2> is there a way to silent the output that system() does to stdout ? <12> @? <13> huh? <12> taking, to boro <12> talking, to boro, infact <14> Mad_Coder: bkkb ****s. <15> See, the Gambit in XMen can cause things to gain kinetic energy or something, right? <15> why doesn't he just touch someone on the head? <16> Because touchy feely is Rogue's deal <15> Setzer, can you figure out wtf std* ignores me please? <15> Oh, right <15> gotta have some projectile weapons in there <16> Gambit: Because it doesn't know who you are. <15> yeah what am I supposed to do about that? <15> it doesn't respond even to 'help' <16> remember what I told you on how to readd yourself :P <15> nope <13> Setzer can I be an op <16> then you are SOL! <15> I could just deop the bots I suppose :D <13> it's always entertaining to randomly ask for ops <16> I could give you a wet willy. <14> al_busy: Just fill in this form I prepared. I hid it in your /dev/zero <15> Or you could get your bots to respond to normal queries like everyone else does :) <16> they do respond to normal queries. if they know you :P <15> yeah, fat lot of good that does <17> sgtunix: I thought /sign was the command to get ops <17> :) <13> dare I try it? <16> al_busy: Yes <13> oh, sign off? <14> no, it's the op command <14> cout: damn you and your inability to keep secrets. now irc is going to be an anarchy! <17> hehe <18> yeah and /disco gets every dancing :/ <18> everyone even <13> yes, because I am amazingly stupid and gullible, and despite lurking here for several years, I expect you are just being helpful <13> :p <13> I got banned for suggesting we make kawfee an op :( <16> Yay! Tomorrow isn't suppose to be stormy. <17> space is big.
Return to
#c or Go to some related
logs:
#politics San Jose Google Shuttle
#windows crypto map entry will be incomplete #beginner i lost my legs #gentoo #politics #windows #c
|
|