Click here to Skip to main content
15,921,452 members
Home / Discussions / C#
   

C#

 
GeneralRe: Registering managed COM into HKCU Pin
SRKSHOME19-Jan-10 19:42
SRKSHOME19-Jan-10 19:42 
Questionwats error in this code when i tend to insert the table from file v.txt.... Pin
vidhulibra 18-Jan-10 22:23
vidhulibra 18-Jan-10 22:23 
AnswerRe: C# Pin
OriginalGriff18-Jan-10 22:30
mveOriginalGriff18-Jan-10 22:30 
AnswerRe: pls respond to this Pin
Keith Barrow18-Jan-10 23:35
professionalKeith Barrow18-Jan-10 23:35 
QuestionThe Exception is" Provides an invalid parameter" Please help me. Pin
SrhLj18-Jan-10 21:14
SrhLj18-Jan-10 21:14 
AnswerRe: The Exception is" Provides an invalid parameter" Please help me. Pin
OriginalGriff18-Jan-10 22:36
mveOriginalGriff18-Jan-10 22:36 
GeneralRe: The Exception is" Provides an invalid parameter" Please help me. Pin
SrhLj19-Jan-10 0:09
SrhLj19-Jan-10 0:09 
GeneralRe: The Exception is" Provides an invalid parameter" Please help me. Pin
OriginalGriff19-Jan-10 0:25
mveOriginalGriff19-Jan-10 0:25 
Your English is a lot better than my Chinese, trust me!

The third line in your error message
at System.Net.Sockets.Socket.SetSocketOption(SocketOptionLevel optionLevel, SocketOptionName optionName, Object optionValue)
indicates that the problem is with one of the two lines:
s.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.AddMembership, new MulticastOption(ip));
s.SetSocketOption(SocketOptionLevel.IP, SocketOptionName.MulticastTimeToLive, 5);
which makes sense, since they are the only lines in the try block.
Put a breakpoint on teh first one, then run the program to until the breakpoint occurs.
Single step through, until the exception happens, and you will know which line is causing the problem.
I would guess it is either the "new MulticastOption(ip)" or the "5" on the next line that is causing the problem, but we need to know which.

All those who believe in psycho kinesis, raise my hand.

QuestionDot matrix printer on crystal report in c# Pin
koncuk18-Jan-10 20:49
koncuk18-Jan-10 20:49 
AnswerRe: Dot matrix printer on crystal report in c# Pin
Ashfield18-Jan-10 21:18
Ashfield18-Jan-10 21:18 
AnswerRe: Dot matrix printer on crystal report in c# Pin
OriginalGriff18-Jan-10 22:40
mveOriginalGriff18-Jan-10 22:40 
GeneralRe: Dot matrix printer on crystal report in c# Pin
koncuk18-Jan-10 22:48
koncuk18-Jan-10 22:48 
AnswerRe: Dot matrix printer on crystal report in c# Pin
darkelv18-Jan-10 23:42
darkelv18-Jan-10 23:42 
GeneralRe: Dot matrix printer on crystal report in c# Pin
koncuk18-Jan-10 23:55
koncuk18-Jan-10 23:55 
GeneralRe: Dot matrix printer on crystal report in c# Pin
darkelv19-Jan-10 3:00
darkelv19-Jan-10 3:00 
AnswerRe: Dot matrix printer on crystal report in c# Pin
Shameel19-Jan-10 7:56
professionalShameel19-Jan-10 7:56 
GeneralRe: Dot matrix printer on crystal report in c# Pin
koncuk20-Jan-10 1:33
koncuk20-Jan-10 1:33 
AnswerRe: Dot matrix printer on crystal report in c# Pin
Murugesan Solaiyappan12-May-10 7:02
Murugesan Solaiyappan12-May-10 7:02 
QuestionMessage Removed Pin
18-Jan-10 20:05
user20518-Jan-10 20:05 
AnswerRe: Looking for C#.NET, XAML, WPF expert having wireless domain Pin
dan!sh 18-Jan-10 20:29
professional dan!sh 18-Jan-10 20:29 
QuestionJIT debugger Error. Pin
Sunil G18-Jan-10 19:55
Sunil G18-Jan-10 19:55 
AnswerRe: JIT debugger Error. Pin
OriginalGriff18-Jan-10 22:45
mveOriginalGriff18-Jan-10 22:45 
GeneralRe: JIT debugger Error. Pin
Sunil G18-Jan-10 23:20
Sunil G18-Jan-10 23:20 
GeneralRe: JIT debugger Error. Pin
OriginalGriff18-Jan-10 23:42
mveOriginalGriff18-Jan-10 23:42 
GeneralRe: JIT debugger Error. [modified] Pin
Sunil G18-Jan-10 23:50
Sunil G18-Jan-10 23:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.