| |
| |
| |
|
Comments:
<0> macca! <1> what up <0> watching the dead zone <1> wh***at? <0> series <0> quite nice <1> i see. <1> i'm still working on: https://guest:guest@development.maccasoft.com.au/lld/direct/www/ <0> checking. <0> flashy
<1> i've got 20 days to finish it <1> and i'm only about 20% way through :( <0> ****s :) <1> yeah <1> i need more devs :D <0> hehe <1> but i'm getting paid peanuts for it :( <0> more than onee? <1> (my cousins site) <0> never do business with famiy <0> family <0> didn't someone ever tell you that? <1> yeah i know. <1> but i'm too nice. <2> Macca, url? <1> whaffor? <1> https://guest:guest@development.maccasoft.com.au/lld/direct/www/ ? <2> The page cannot be displayed <1> why? <3> why can't I connect with TcpClient? if I try to connect with my irc client or in some other language it works fine but in C# I get exception. http://rafb.net/paste/results/WdWnRF22.html <1> <@CSwhore> i have to share, because it's so funny <3> why can't I connect with TcpClient? if I try to connect with my irc client or in some other language it works fine but in C# I get exception. http://rafb.net/paste/results/WdWnRF22.html <1> go ask freenode <1> oh <1> you did <1> hahahah <1> if i'm cooking corn in boiling water.. how long should i cook it for? <2> until it's not hard? <4> until you see popcorn <5> hello. while (true) string line = reader.ReadLine(); Console.WriteLine(line); <0> that won't compile. <5> how to break this loop on error? <0> you forgot the {}'s <5> yeah <0> line = ""; while (line != "quit") { line = reader.ReadLine(); console.WriteLine(line); } <6> is there any event occuring AFTER a container has painted its children? <6> string line; while ((line = reader.ReadLine()) != "quit") Console.WriteLine(line); <0> threadw: that is fairly ugly though ;) <0> threadw: after? doutbful <6> heh yea <6> **** readability
<6> :P <5> by error I meant when socket is closed. == null seems to work though <6> Socket.Poll() <6> " Determines the status of the Socket." <5> while ((line = reader.ReadLine()) != null) <5> that worked <6> yup <5> strange though, I can't seem to register to irc server <5> and I'm sending same strings as I did in telnet <0> do you send an enter? <6> if he's using StreamWriter and WriteLine() it should work <6> hm <6> odd <5> that's what I'm using <5> connection time outs <6> to the server? <6> well, check for typos? <5> maybe it's because of \r\n? <5> http://rafb.net/paste/results/lqAGDJ40.html <5> if I use a nick that I know is in use I don't get error about it <5> so it's probably not sending NICK at all, at least not in a proper format <0> do you flush the streamwriter? <5> I didn't <6> it caches for packet optimization, so might not send your data until you call Flush() <0> might be an idea. <5> yeah that worked <5> by the way is there a way to flush at \n automatically, or on each call? or do I just have to Flush manually on every message <0> Read the help? :) <0> AutoFlush <5> cool <5> I need to use Synchronized(writer); with async connection, right? <0> that just depends on how you use it. <7> hi. how can I change 2nd character of the string ? str[2] = newchar doesn't work. <2> [1] <2> it starts from 0 <7> no you can't change the string since it's immutable (doesn't seem to stop += from working though) <7> I can't see a way to do it apart from copying it to char array or stringbuilder <0> legits: substring it <7> I cant see how will substring help me to replace a character <7> replace won't work either <7> it accepts two characters <0> x[0]+newchar+x.SubString(2); <7> :( <7> ugly as hell, I guess I'll have to get used to do with C# <7> that* <0> well <0> he's doing it wrong
Return to
#csharp or Go to some related
logs:
#beginner #freebsd #beginner GSA4163A106(ew).zip jimco horse
#beginner ich6r *ntbackup #windows #flash #hardware
|
|