Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Not receiving UDP in windows service

1 view
Skip to first unread message

Arkej

unread,
Jan 14, 2008, 10:08:31 AM1/14/08
to
Hello,
I wasn't able to find an answer to this:
I have an application in .net that uses a socket in UDP mode to listen for
datagrams with address reuse option. I use socket.BeginReceiveFrom method
and it's working well in a console application. When the same class is used
in a windows service no udps get received no mather what account the service
runs on. And now the weird part - if I start the console app while the
service is running( another beginreceivefrom in another process) the service
starts receiveing the udps(and the console app too). If I terminate the
console app, the service receives no more udps.
Any hint or solution would be appretiated?

Robert


Arkej

unread,
Jan 15, 2008, 9:18:06 AM1/15/08
to
Finally I found what worked for me - don't yet understand quite why but...
http://www.msnewsgroups.net/group/microsoft.public.dotnet.languages.csharp/topic26595.aspx

"Arkej" <nospamro...@nospamsiol.net> wrote in message
news:OnWmS9rV...@TK2MSFTNGP04.phx.gbl...

0 new messages