Click here to Skip to main content
15,886,919 members
Home / Discussions / C#
   

C#

 
GeneralRe: Advice on editable datagrid Pin
Nick Parker8-Feb-04 11:32
protectorNick Parker8-Feb-04 11:32 
GeneralAutoScrolling TextBoxes Pin
ZigmaT8-Feb-04 10:51
ZigmaT8-Feb-04 10:51 
GeneralRe: AutoScrolling TextBoxes Pin
Heath Stewart8-Feb-04 19:04
protectorHeath Stewart8-Feb-04 19:04 
GeneralRe: AutoScrolling TextBoxes Pin
ZigmaT9-Feb-04 8:32
ZigmaT9-Feb-04 8:32 
GeneralBroadcasting on a local network Pin
ZigmaT8-Feb-04 10:42
ZigmaT8-Feb-04 10:42 
GeneralRe: Broadcasting on a local network Pin
Nick Parker8-Feb-04 10:54
protectorNick Parker8-Feb-04 10:54 
GeneralRe: Broadcasting on a local network Pin
ZigmaT8-Feb-04 11:01
ZigmaT8-Feb-04 11:01 
GeneralRe: Broadcasting on a local network Pin
Nick Parker8-Feb-04 11:29
protectorNick Parker8-Feb-04 11:29 
ZigmaT wrote:
this.remoteEP = new IPEndPoint(IPAddress.Broadcast, 20000);
UdpClient myUDP = new UdpClient(20000);
myUDP.Send(System.Text.Encoding.ASCII.GetBytes("ImOnlineNow"), 11);


First, you will need to call the Connect method before you can call Send. What line does the exception get thrown at? You also might consider rewriting your send so it looks like:

Byte[] mBytes = Encoding.ASCII.GetBytes("ImOnlineNow");
myUDP.Send(mBytes, mBytes.Length);


- Nick Parker
  My Blog

GeneralRe: Broadcasting on a local network Pin
ZigmaT8-Feb-04 12:22
ZigmaT8-Feb-04 12:22 
GeneralRe: Broadcasting on a local network Pin
Heath Stewart8-Feb-04 18:33
protectorHeath Stewart8-Feb-04 18:33 
GeneralCompiling Dependancies Pin
ZigmaT8-Feb-04 9:47
ZigmaT8-Feb-04 9:47 
GeneralRe: Compiling Dependancies Pin
Mazdak8-Feb-04 9:56
Mazdak8-Feb-04 9:56 
GeneralRe: Compiling Dependancies Pin
ZigmaT8-Feb-04 10:37
ZigmaT8-Feb-04 10:37 
GeneralRe: Compiling Dependancies Pin
Heath Stewart8-Feb-04 18:22
protectorHeath Stewart8-Feb-04 18:22 
GeneralRe: Compiling Dependancies Pin
ZigmaT9-Feb-04 8:30
ZigmaT9-Feb-04 8:30 
GeneralGetDisplayName - Valid, but no return value Pin
Tristan Rhodes8-Feb-04 9:14
Tristan Rhodes8-Feb-04 9:14 
GeneralRe: GetDisplayName - Valid, but no return value Pin
Nick Parker8-Feb-04 10:28
protectorNick Parker8-Feb-04 10:28 
GeneralRe: GetDisplayName - Valid, but no return value Pin
Tristan Rhodes8-Feb-04 12:46
Tristan Rhodes8-Feb-04 12:46 
GeneralSending an Image over HTTP. Pin
Jon Newman8-Feb-04 9:03
Jon Newman8-Feb-04 9:03 
GeneralRe: Sending an Image over HTTP. Pin
Mazdak8-Feb-04 9:09
Mazdak8-Feb-04 9:09 
GeneralRe: Sending an Image over HTTP. Pin
Jon Newman8-Feb-04 9:32
Jon Newman8-Feb-04 9:32 
GeneralRe: Sending an Image over HTTP. Pin
Mazdak8-Feb-04 9:40
Mazdak8-Feb-04 9:40 
GeneralRe: Sending an Image over HTTP. Pin
Not Active9-Feb-04 3:12
mentorNot Active9-Feb-04 3:12 
GeneralAutoscrolling Text Boxes Pin
ZigmaT8-Feb-04 9:00
ZigmaT8-Feb-04 9:00 
QuestionGrid Control - How do I add single rows?? Pin
IrishSonic8-Feb-04 8:49
IrishSonic8-Feb-04 8:49 

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.