Re: Winsock in C#
- From: "dmm" <***@***.com>
- Date: Thu, 1 Jun 2006 17:15:53 +0100
What OS are you on? I ran into this once when I put some server code up on a
Windows Server 2003 box.
"Rain" <Rain@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:91F0AF4E-2D46-46F3-A426-F676BD898D92@xxxxxxxxxxxxxxxx
I know that there is an .NET implementation of sockets but i really need
the
winsock. This is the case, im doing an activeX.. C# dll to be used on
web...
so heres the problem, everything works fine with the dll and web until my
dll
reaches tcpListener.Start(), it produces an exception.. something about
security and permissions. Ive tried solving it with other people's
suggestions like changing the assembly to fulltrust but it doesnt seem to
work. So now, i was thinking that maybe, just maybe winsock will be able
to
do it.. so i need the class if any of you have it or the link... i would
be
very much grateful.. or any suggestions or ideas at all.. thank you so
much
"Kevin Spencer" wrote:
You can use raw Sockets in .Net. The Sockets classes are pretty darned
excellent!
--
HTH,
Kevin Spencer
Microsoft MVP
Professional Development Numbskull
Abnormality is anything but average.
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote
in message news:OiUJgNXhGHA.836@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
.NET has it own implementation of sockets , have you tried to use it?
Don;t know if you can use Raw sockets though, if ont you will have to
P/nvoke
--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Rain" <Rain@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:838992D6-D730-4543-B6D4-7223A76AF0A9@xxxxxxxxxxxxxxxx
Does anybody know where i can get a winsock class for C#? badly
needed.
ANy
help would be very much appreciated. Thank you so so much!
-Stan
.
- References:
- Re: Winsock in C#
- From: Ignacio Machin \( .NET/ C# MVP \)
- Re: Winsock in C#
- From: Kevin Spencer
- Re: Winsock in C#
- Prev by Date: Re: Getting CF_ENHMETAFILE from clipboard
- Next by Date: Re: Debug - return value ; ?
- Previous by thread: Re: Winsock in C#
- Next by thread: Re: Winsock in C#
- Index(es):
Relevant Pages
|