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.59 MB
Powered by
Channel Info
Network: freenodeChannel: #csharp |
Search in www.irclog.org
Log from #csharp at freenode 2006-05-22
[15:02]<mzmcygmnz>but only the local ones!
[15:02]<zyccus>er
[15:02]<zyccus>then it's not your code
[15:03]<mzmcygmnz>so what's the point?
[15:03]<mzmcygmnz>the broadcasts don't work either
[15:03]<zyccus>you say that ethereal says the packets are received?
[15:04]<mzmcygmnz>yep
[15:04]<mzmcygmnz>AFAIK it can't sniff loopback interface, so it shows only the ones arrived from the remote machine
[15:04]<zyccus>then I have no idea how you can receive only local packets in your code
[15:04]<zyccus>er
[15:05]<zyccus>are you listening on loopback?
[15:05]<zyccus>that would explain it
[15:05]<mzmcygmnz>theReceiveEP = new IPEndPoint(IPAddress.Any, ((IPEndPoint)theSendEP).Port);
[15:05]<zyccus>What does the MulticastLoopback property to?
[15:05]<mzmcygmnz>doesn't IPAddress.Any mean to listen to all the interfaces?
[15:06]<mzmcygmnz>if it is set to false then I don't recieve my own packets
[15:06]<mzmcygmnz>in case of true I do receive them
[15:08]<zyccus>and if you turn it off, do you receive packets from others?
[15:08]<mzmcygmnz>nope
[15:08]<mzmcygmnz>I don't receive them in both cases
[15:08]<zyccus>hmm
[15:10]<zyccus>you must be doing something different from UDPClient, then
[15:10]<mzmcygmnz>I tried both Socket and UdpClient
[15:11]<zyccus>you could try my code
[15:11]<zyccus>just call SQLServerFinder.Search(60000) and within a minute, send a UDP packet to the machine on port 3389
[15:12]<mzmcygmnz>I'm not able to run VB code
[15:13]<zyccus>get a computer to do it?
[15:16]<mzmcygmnz>by the way
[15:16]<mzmcygmnz>UdpClient can't do multicasting
[15:17]<mzmcygmnz>it throws an exception when you try to JoinMulticastGroup()
[15:17]<mzmcygmnz>I figured out that the reason is that the socket shoul be bound before it can join the group
[15:18]<zyccus>er
[15:18]<zyccus>are we talking about multicast or broadcast?
[15:18]<mzmcygmnz>first I tried broadcastr
[15:18]<mzmcygmnz>it didn't worked for me
[15:19]<mzmcygmnz>than I googled, read and thought...
[15:19]<mzmcygmnz>after that I decided that multicast fits better for me :)
[15:20]<zyccus>sorry I thought you were doing broadcast
[15:20]<mzmcygmnz>anyway
[15:20]<mzmcygmnz>broadcast fails either
[15:20]<zyccus>http://www.getdotnetcode.com/gdncstore/productdetails.aspx?ProductID=77
[15:21]<zyccus>or
[15:21]<zyccus>http://www.c-sharpcorner.com/Code/2002/April/UDPMulticasting.asp
[15:22]<ezyzzzzvdzg>all of a sudden an exception messafe is localized (appear in native language) on Windows box, any idea ?
[15:22]<ezyzzzzvdzg>uhmm maybe mono overrided MS .NET
[15:24]<mzmcygmnz>the code written in VB is not for me, 'cos I can't run it
[15:24]<mzmcygmnz>the second one just doesn't work
[15:25]<mzmcygmnz>it throws an exception while joining the multicast group
[15:29]<zyccus>what kind of exception?
[15:31]<mzmcygmnz>Invalid parameter
[15:31]<mzmcygmnz>something like that
[15:33]<-- przf_mjrk xrs puy>exit")
[15:33]<zyccus>sounds like that's where the problem is
[15:34]<mzmcygmnz>strange...
[15:35]<mzmcygmnz>I tried it one more time... it stopped throwing exceptions...
[17:53]<txnjzd_>hehe
[17:53]<txnjzd_>regex is fun
[17:53]<txnjzd_>children should be taught it along side their native tongue :-)
[17:55]<dz_bzzgjwf>Some of the chaps at my previous place of work like to joke that one of my Regexs became sentient after I left and tried to down their networks.
[17:56]<gjrvcxnne>lol
[18:19]<txnjzd_>GoatCheez: just slap anchors around it then
[18:19]<gjrvcxnne>anchors?
[18:20]<gjrvcxnne>\b's?
[18:20]<txnjzd_>depends what you want
[18:20]<txnjzd_>but probably ^ and $
[18:24]<sjacnvs>Can anyone tell me whats wrong with this line : if (strCode.Substring(K, 1) == "0")
[18:24]<sjacnvs>K is simply a int value
[18:28]<txnjzd_>Sockets: what is wrong with it?
[18:31]<maxgg>i figured out how to grab single variables using xquery in sql server 2005
[18:31]<maxgg>but is it possible to grab a collection of values? (to build a template table with)
[18:32]<maxgg>like <THINGY ID="1"/><THINGY ID="2"/> and grab 1 and 2
[18:33]<sjacnvs>sorry Theory_ it was the next line which was giving me the error
[18:33]<sjacnvs>strExit &= "0100111";
[18:34]<sjacnvs>it gives me the error Error 1 Operator '&=' cannot be applied to operands of type 'string' and 'string'
[18:35]<dyguw>GoatCheez: There is no #cellphones channel =)
[18:37]<gjrvcxnne>bah
[18:38]<sjacnvs>bah my bad, I should be using += not the VB &=
[18:38]<maxgg>Sockets: yeah
[18:38]<maxgg>the & is for bit ops
[18:38]<wyfaj>+=
[18:39]<gjrvcxnne>i'm thinking i need to go to matching what shouldn't be valid
[18:39]<gjrvcxnne>seriuouslt
[18:39]<gjrvcxnne>either that, or i'm totally doing something wrong
[21:30]<txnjzd_>minux: I suggest google :-)
[21:55]<dyguw>I need to stop smoking, can't stop thinking about cancer and shit..
[21:56]<gxysvggz>minux, Who said that smoking causes cancer?
[21:56]<gxysvggz>minux, It doesn't.
[21:56]<dyguw>Any other lung disease then?
[21:56]<zj2-wzc>See if you stress out about cancer you'll want a cigarette to calm yourself down. ;)
[21:56]<gxysvggz>Indeed
[21:56]<dyguw>rob-wrk: lol
[21:56]<gxysvggz>minux, there are people who have been smoking for 50 years
[21:57]<gxysvggz>minux, and they're like 86 now
[21:57]<gxysvggz>minux, some people don't even smoke, and they would die at the age of 30 or 40
[21:57]<zj2-wzc>Thats not exactly proof against cancer.
[21:57]<gxysvggz>minux, your death date is engraved in your DNA
[21:58]<dyguw>hehe
[21:58]<zj2-wzc>The claim about the health effects and smoking (or any other disease cause) is a statistics problem, you are X times more likely do get Y health problem if you do Z stupid behavior
[21:58]<dyguw>haha
[22:09]<zj2-wzc>minux: basically you ignite things and inhale carbon particles along with other vaporized stuff and its not good. doesn't really matter what you light on fire







