Click here to Skip to main content
15,895,283 members
Home / Discussions / C#
   

C#

 
QuestionCombobox value Pin
andrejmk10-Mar-09 6:31
andrejmk10-Mar-09 6:31 
AnswerRe: Combobox value Pin
Xmen Real 10-Mar-09 6:35
professional Xmen Real 10-Mar-09 6:35 
QuestionHow to display images in subitems of a listview control using <b>C#</b>? Pin
ADIDADPU10-Mar-09 6:22
ADIDADPU10-Mar-09 6:22 
AnswerRe: How to display images in subitems of a listview control using C#? Pin
Xmen Real 10-Mar-09 6:31
professional Xmen Real 10-Mar-09 6:31 
QuestionHow to convert html to pdf using C# tried to do but got error Pin
YiXiang_8910-Mar-09 5:39
YiXiang_8910-Mar-09 5:39 
AnswerRe: How to convert html to pdf using C# tried to do but got error Pin
Jack Li10-Mar-09 5:57
Jack Li10-Mar-09 5:57 
AnswerRe: How to convert html to pdf using C# tried to do but got error Pin
Curtis Schlak.10-Mar-09 6:10
Curtis Schlak.10-Mar-09 6:10 
QuestionvSystem.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer,Int32 offset,Int32 size,SocketFlags socketflags,Endpoint& remoteEP) [modified] Pin
mrithula810-Mar-09 4:28
mrithula810-Mar-09 4:28 
Hi,

I'm having trouble getting the UDPClient to work with C#.
The udpClient has connected and sent a signal to 127.0.0.1 on port 8050 with no exceptions thrown. On the below line of code,
int recv = server.ReceiveFrom(data, ref tmpRemote);

I receive the below exception error,
at System.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint& remoteEP)

RemoteIPEndPoint is defined using the following line of code,
IPEndPoint sender = new IPEndPoint(IPAddress.Parse("127.0.0.1"),8050);
      EndPoint tmpRemote = (EndPoint)sender;

Any ideas why it throws the exception and how to solve it?

modified on Thursday, March 12, 2009 1:02 AM

AnswerRe: vSystem.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer,Int32 offset,Int32 size,SocketFlags socketflags,Endpoint& remoteEP) Pin
Jimmanuel10-Mar-09 6:27
Jimmanuel10-Mar-09 6:27 
GeneralRe: vSystem.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer,Int32 offset,Int32 size,SocketFlags socketflags,Endpoint& remoteEP) Pin
mrithula811-Mar-09 19:01
mrithula811-Mar-09 19:01 
GeneralRe: vSystem.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer,Int32 offset,Int32 size,SocketFlags socketflags,Endpoint& remoteEP) Pin
Jimmanuel12-Mar-09 3:28
Jimmanuel12-Mar-09 3:28 
AnswerRe: vSystem.Net.Sockets.Socket.ReceiveFrom(Byte[] buffer,Int32 offset,Int32 size,SocketFlags socketflags,Endpoint& remoteEP) Pin
mcldev10-Mar-09 10:32
mcldev10-Mar-09 10:32 
QuestionCan't use base canvas as event dispatcher? Pin
emptythetill10-Mar-09 3:50
emptythetill10-Mar-09 3:50 
AnswerRe: Can't use base canvas as event dispatcher? Pin
emptythetill10-Mar-09 5:28
emptythetill10-Mar-09 5:28 
QuestionAdvice on Next Step Pin
TheScientistIsDead10-Mar-09 3:47
TheScientistIsDead10-Mar-09 3:47 
AnswerRe: Advice on Next Step Pin
Xmen Real 10-Mar-09 3:54
professional Xmen Real 10-Mar-09 3:54 
GeneralRe: Advice on Next Step Pin
Curtis Schlak.10-Mar-09 5:43
Curtis Schlak.10-Mar-09 5:43 
GeneralRe: Advice on Next Step Pin
Xmen Real 10-Mar-09 6:29
professional Xmen Real 10-Mar-09 6:29 
Questionneed help on C# ITEXT - Convert html to pdf Pin
YiXiang_8910-Mar-09 3:42
YiXiang_8910-Mar-09 3:42 
AnswerRe: need help on C# ITEXT - Convert html to pdf Pin
Yusuf10-Mar-09 3:46
Yusuf10-Mar-09 3:46 
QuestionActiveFomr.Invoke Pin
thomaxz.tc10-Mar-09 3:35
thomaxz.tc10-Mar-09 3:35 
AnswerRe: ActiveFomr.Invoke Pin
thomaxz.tc10-Mar-09 3:37
thomaxz.tc10-Mar-09 3:37 
GeneralRe: ActiveFomr.Invoke Pin
Xmen Real 10-Mar-09 3:58
professional Xmen Real 10-Mar-09 3:58 
GeneralRe: ActiveFomr.Invoke Pin
thomaxz.tc10-Mar-09 4:15
thomaxz.tc10-Mar-09 4:15 
GeneralRe: ActiveFomr.Invoke Pin
Xmen Real 10-Mar-09 4:22
professional Xmen Real 10-Mar-09 4:22 

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.