TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
obinna_eke
NA
2
0
Security Problem
May 29 2004 9:17 AM
Hi this is the error I am getting, I am a C++ Programmer migrating to C-Sharp pls tell me how to configure socket programming in or .net configuration / c sharp This was the error I got below D:\WINDOWS\MICROS~1.NET\FRAMEW~1\V11~1.432>Class1.exe Unhandled Exception: System.Security.SecurityException: Request for the permissi on of type System.Net.SocketPermission, System, Version=1.0.5000.0, Culture=neut ral, PublicKeyToken=b77a5c561934e089 failed. at System.Security.CodeAccessSecurityEngine.CheckHelper(PermissionSet granted Set, PermissionSet deniedSet, CodeAccessPermission demand, PermissionToken permT oken) at System.Security.CodeAccessSecurityEngine.Check(PermissionToken permToken, CodeAccessPermission demand, StackCrawlMark& stackMark, Int32 checkFrames, Int32 unrestrictedOverride) at System.Security.CodeAccessSecurityEngine.Check(CodeAccessPermission cap, S tackCrawlMark& stackMark) at System.Security.CodeAccessPermission.Demand() at System.Net.Sockets.Socket.Bind(EndPoint localEP) at System.Net.Sockets.TcpListener.Start() at POP3Server.Class1.Main(String[] args) The state of the failed permission was:
D:\WINDOWS\MICROS~1.NET\FRAMEW~1\V11~1.432>
Reply
Answers (
1
)
Multiple Socket Instances On A Single Port?
visual studio .net and access