IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.39 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-09-02
[01:58]<jusvygc>one of the two
[01:58]<jusvygc>there's no way to guarantee your data isn't lost, that's the reality of the real world
[01:58]<fz1dbz>what i mean by loss
[01:58]<fz1dbz>is because
[01:58]<kjr>JustinC: ACK
[01:58]<jusvygc>but you can detect it and close the connection
[01:58]<fz1dbz>i cant interpret then
[01:58]<fz1dbz>hehe
[01:58]<fz1dbz>most of the times i get then cutted
[01:59]<fz1dbz>like DAATAAAAAB is sent and i get DAATAAAA and in the next recv AB
[02:00]<fz1dbz>i know tcp does that
[02:00]<fz1dbz>but i need a good way to have my DATAAAAAB back :)
[02:00]<fzzrjs>Fr3DBr: do you really need to program at that level?
[02:01]<fz1dbz>largos yes
[02:01]<fz1dbz>i have large chunks of data
[02:01]<fzzrjs>Fr3DBr: generally you just treat it as a standard parsing problem
[02:02]<fz1dbz>and how can i fix it ?
[02:02]<fz1dbz>what should be done ?
[02:02]<fzzrjs>well, since you know the length of each message, and you know one of two things will happen: 1) you get the entire message or 2) the connection breaks
[02:02]<fzzrjs>just count ;)
[02:03]<fz1dbz>yea
[02:03]<fz1dbz>but im donkey lol.... im trying to do that but it stills doesnt works too well :\
[02:03]<fz1dbz>i need like to see some tutorial or so :p
[02:04]<jusvygc>keep in mind TCP doesn't have a notion of messages.... TCP is a continuous stream of bytes
[02:04]<jusvygc>so you have to do extra processing on top of TCP to ensure that
[02:04]<fz1dbz>Yea JustinC
[02:04]<jusvygc>the size of the message you call send() with might be different than the one you get with recv()
[02:04]<fz1dbz>yup yup
[02:04]<fz1dbz>i need just to have my messages in the way i send it...
[02:04]<fz1dbz>but
[02:05]<fz1dbz>i know they will get broken most of the time
[02:05]<jusvygc>then write a protocol that works on top of TCP
[02:05]<fz1dbz>so i need a way to fix then
[02:05]<fz1dbz>any tutorial on this ?
[02:05]<jusvygc>write a protocol that uses TCP and sends messages across it
[02:05]<jusvygc>it's not hard to do
[02:05]<jusvygc>no, you probably can't find a tutorial
[02:05]<2fc2yzm>can anyone explain to me how to get gtk# working on a mac (OS x 10.4) with dotGNU
[02:05]<fz1dbz>i need to know the logic of this :\
[02:05]<jusvygc>just thinkg about it -- it's a programming problem like any other problem. how would you save messages to a file?
[02:05]<fz1dbz>i need to see something working
[02:05]<jusvygc>CREATE the logic of it yourself
[02:05]<pz2>blkbird, you might be better off on irc.gnome.org #mono or something
[02:05]<jusvygc>how do you store structures to disk in a file?
[02:06]<fz1dbz>by writting to the file
[02:06]<fz1dbz>1,81:4p
[02:06]<2fc2yzm>never could get mono working though
[02:06]<jusvygc>...
[02:06]<jusvygc>use your brain. come up with a system
[02:06]<2fc2yzm>ive tried many times
[02:06]<jusvygc>write a protocol that serializes messages by writing their length then the message
[02:06]<jusvygc>then waits until the complete message arrives at the other end
[02:06]<fz1dbz>JustinC
[02:06]<fz1dbz>The protocol im dealing with
[02:06]<fz1dbz>already does that
[02:06]<pz2>blkbird, dunno, I used mono once on suse linux, then decided I'd be more productive with VS on Windows
[02:06]<jusvygc>Fr3DBr: which protocol are you dealing with?
[02:06]<fz1dbz>D2GS
[02:07]<pz2>I dislike macs personally, and have no support knowlege
[02:09]<2j2>hi
[02:09]<jusvygc>hi bob
[02:10]<zyjvnz>macs are luvely
[02:10]<jusvygc>yeah i agree
[02:10]<jusvygc>they're very pretty
[02:10]<kjr>if you like to spend money
[02:10]<jusvygc>the thing is..... I'm not using my computer to see pretty stuff
[02:10]<kjr>I should say, overpay
[02:10]<zyjvnz>dont make me hit you with my macbook
[02:10]<jusvygc>I use my computer to get shit done
[02:10]<2fc2yzm>but os x is much better than indows
[02:10]<2fc2yzm>windows
[02:10]<kjr>blkbird: not particularly
[02:10]<jusvygc>so I turn off themes and make it as plain as possible so that it doesn't get in the way
[02:10]<zyjvnz>JustinC um, and you cant in osx?
[02:10]<jusvygc>rioter: Do they make Visual Studio for OS X?
[02:10]<kjr>blkbird: although, I hear 10.4 is finally getting towards real unix
[02:10]<2fc2yzm>no
[02:10]<jusvygc>then no, I can't.
[02:11]<zyjvnz>JustinC no but i run parallels and visual studio just fine
[02:11]<2j2>i have a tcp listener and a tcp client setup, they both work on localhost, but when i put the server on network, and try to connect to its ip via my client, it says, "No connection could be made because the machine actively refused the connection." 1) no firewall running on either pc including windows firewall 2) netstat -a shows it is IN FACT running on the port im trying to connect to 3) its not conflicting with anothe
[02:11]<2fc2yzm>and 10.5 is there
[02:11]<jusvygc>but what do I need the mac for?
[02:11]<2j2>put the server on another pc i mean**
[02:11]<kjr>blkbird: yeah, but you gotta pay for minor version upgrades... that sucks
[02:11]<jusvygc>most of the other stuff I do is thru a website
[02:11]<2fc2yzm>to get away from windows
[02:11]<2j2>i can paste my code if you liek
[02:11]<jusvygc>IRC is the only protocol I don't have a web-based chat client for
[02:11]<2fc2yzm>no you dont
[02:11]<zyjvnz>Kog but they are far from minor haha
[02:11]<jusvygc>for everything else I use Meebo :)
[02:11]<2fc2yzm>all the updates are free
[02:11]<zyjvnz>there is more in one of those minor releases than there was from 95 to xp
[02:11]<kjr>blkbird: so 10.3->10.5 is free?
[02:11]<2fc2yzm>the different versions are paid
[02:11]<2fc2yzm>TPB
[02:12]<kjr>TPB?
[02:12]<2fc2yzm>pirates bay
[02:12]<2j2>anyone have a suggestion?
[02:12]<zyjvnz>and i dont care what any of you say, expose and spotlight are gods







