all groups > dotnet sdk > october 2006
UdpClient.Receive - polling or blocking
Posted by David Thielen at 10/31/2006 9:50:01 PM
Hi;
I assumed that UdpClient.Receive() blocks and uses no CPU cycles until bytes
are received. However the ANTS profiler says it is taking a ton of time. Is
it polling or is this an ANTS problems where the thread is blocked but it
counts it as time executing code on the CPU?
--
thanks ... more >>
DateTime, TimeZone, AAARRRRRGGGGGGGGHHHHHHHH!
Posted by David Thielen at 10/26/2006 4:51:02 PM
Hi;
Ok, I'm going nuts here. We have a scheduler in our ASP.NET app and here are
a couple of major problems I am hitting.
1) Someone schedules an item to run weekdays at 1:00 am - Colorado time. The
server is in Japan so it's the next day there for local server time. Or the
local & serve... more >>
How do I get a TimeZone object?
Posted by David Thielen at 10/26/2006 2:42:01 PM
I see the class but I can't find any way to get one.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
... more >>
Differentiate between a user and group in AD
Posted by Jonas Bystrom at 10/20/2006 12:20:01 AM
Hi Guys,
It's possible that rhis is a newbie Q but I got a mind black out for the
moment.
If I want to check AD for an object and provide me with the info if the
object is a user or group object. I'm trying to make a form for adding users
and groups to DACL.
Could someone get me some ... more >>
Windows SDK Programming Basics
Posted by Daisy Dale at 10/19/2006 8:42:00 PM
Hi everyone
I am a beginner in programming field.I will be grateful if anyone lets
me know the Windows SDK Programming Basics
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Exchange 2007 Licensing
Posted by Niklas at 10/17/2006 8:25:03 AM
We are currently developing an email-software for Windows, and we need a
Mime-Parser for our software.
I found a very nice Mime-Parser in the Exchange 2007 SDK called
MimeDocument. Since our software may or may not run directly on the exchange
server, I do not have direct aceess to those dl... more >>
ICredentials questions
Posted by David Thielen at 10/15/2006 4:56:01 PM
Hi;
Four questions on credentials. These are all in a test Windows console app.
This is testing opening both \\server\share\file and
http://www.domain.com/file.
1) CredentialCache.DefaultCredentials and
CredentialCache.DefaultNetworkCredentials show a Username of "". Shouldn't
they be ... more >>
Identify the Path of a Running Windows Service
Posted by Ragu at 10/13/2006 1:08:01 AM
Hi All
I have to get the path of a Running Windows Service from another application.
How to do this ?
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
CreateDirectory bug ?
Posted by Jos Scherders at 10/11/2006 11:33:02 PM
Hi all,
I am having a problem with the Directory.CreateDirectory method. I want to
use this function to create a new directory and set a security descriptor at
the same time.
This works fine except the new directory never inherits aces from it's
parent.
For example:
CreateDirectory("my... more >>
Share UdpClient broadcast receive - same port & IP address
Posted by David Thielen at 10/7/2006 11:38:02 AM
Hi;
It looks like the UdpClient set to join a broadcast cannot have 2 programs
on the same machine both join the same broadcast. They both join ok, but only
1 gets the broadcasts.
Is there any way to set it up so multiple instances of my app can all get
the same broadcasts?
--
thank... more >>
UdpClient send/receive problem - only if different computers
Posted by David Thielen at 10/6/2006 4:23:02 PM
Hi;
I have a little test program that works great to send/receive UDP packets if
I run both ends on the same computer. If I run them on different computers -
doesn't work.
I have checked and checked and checked and I am using the remote IP address.
Here is the relevant code.
sendSocke... more >>
Calling Socket.Close() on a socket that is set to Receive()?
Posted by David Thielen at 10/5/2006 4:48:02 PM
Hi;
I have a thread with a socket in an infinite loop where it does a Receive()
acts on it, then blocks for the next. Is the best way to kill this to call
Close() on the socket which causes an exception?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubic... more >>
UdpClient vs Socket
Posted by David Thielen at 10/5/2006 4:47:02 PM
Hi;
I've noticed a lot of the MS samples show using Socket rather than UdpClient
for UDP stuff. Is that the suggested approach?
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
... more >>
|