Re: [twsocket] UDP Newbie...

2008-04-07 Thread zayin
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: Monday, April 07, 2008 3:03 AM To: ICS support mailing Subject: Re: [twsocket] UDP Newbie... Hello zayin, So first it does not work, then minutes later it works and a little later same error. So the explanation is

Re: [twsocket] UDP Newbie...

2008-04-07 Thread Dave Baxter
rt, it blocks stuff by default. Safe, but so frustrating at times!.. UDP, fun when it works, less so when it doesn't! > -Original Message- > From: zayin [mailto:[EMAIL PROTECTED] > Sent: Sunday, April 06, 2008 10:06 PM > To: 'ICS support mailing' &g

Re: [twsocket] UDP Newbie...

2008-04-07 Thread Wilfried Mestdagh
t; [mailto:[EMAIL PROTECTED] On > Behalf Of Wilfried Mestdagh > Sent: Sunday, April 06, 2008 12:27 PM > To: ICS support mailing > Subject: Re: [twsocket] UDP Newbie... > Hello Mark, > if you look into source code you see that SendStr call Send, so it is exacly > the same. I us

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
Hi, No virus programs. Windows firewall is on. Thanks for all the help, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: Sunday, April 06, 2008 2:24 PM To: ICS support mailing Subject: Re: [twsocket] UDP Newbie... Hello

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Wilfried Mestdagh
Sunday, April 06, 2008 1:55 PM > To: ICS support mailing > Subject: Re: [twsocket] UDP Newbie... > Hello zayin, > I tried same sample as Wilfried and its OK for me. > Are you sure your port was not in use at the time you tried to start the > program ? > "netstat -an&qu

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
Hi, The port is not open. And yes "should " is the operative word. Ciao, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dod Sent: Sunday, April 06, 2008 1:55 PM To: ICS support mailing Subject: Re: [twsocket] UDP Newbie... Hello

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Dod
fried Mestdagh z> Sent: Sunday, April 06, 2008 12:27 PM z> To: ICS support mailing z> Subject: Re: [twsocket] UDP Newbie... z> Hello Mark, z> if you look into source code you see that SendStr call Send, so it is exacly z> the same. I used SendStr just because I was lazy :) I trye

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
nnect, all if working again. Something I do not understand is going on. Ciao, Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: Sunday, April 06, 2008 12:27 PM To: ICS support mailing Subject: Re: [twsocket] UDP Newbie... Hello

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Wilfried Mestdagh
rsion of ICS are you using? > Cheers, > Mark > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Wilfried Mestdagh > Sent: Sunday, April 06, 2008 4:57 AM > To: ICS support mailing > Subject: Re: [twsocket] UDP Newbie...

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
support mailing Subject: Re: [twsocket] UDP Newbie... Hello Mark, I tryed to do the same as you listen with IP addres of same machine, and when I click the button, 'Hello' is received. This is the complete unit: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Wilfried Mestdagh
Hello Mark, I tryed to do the same as you listen with IP addres of same machine, and when I click the button, 'Hello' is received. This is the complete unit: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, WSocket; ty

Re: [twsocket] UDP Newbie...

2008-04-01 Thread zayin
Hello, >Please post your code. CodeGearT DelphiR 2007 for Win32R R2 Version 11.0.2902.10471 ICS 5.25 TWSocket I set Addr 192.168.245.2 Port 47808 Proto udp Var outBuffer:array[0..128] of byte; In a button click: outBuffer[0]:=$01; outBuffer[1]:=$02; WSocket1.Listen; WSocket1.Send(@outBuff

Re: [twsocket] UDP Newbie...

2008-04-01 Thread Ionut Muntean
ROTECTED] On > Behalf Of Wilfried Mestdagh > Sent: Tuesday, April 01, 2008 2:26 AM > To: ICS support mailing > Subject: Re: [twsocket] UDP Newbie... > > Hello Mark, > > >> If I call listen and then try to send I get an error 10049 (Bind >> Address not >&

Re: [twsocket] UDP Newbie...

2008-04-01 Thread zayin
TECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wilfried Mestdagh Sent: Tuesday, April 01, 2008 2:26 AM To: ICS support mailing Subject: Re: [twsocket] UDP Newbie... Hello Mark, > If I call listen and then try to send I get an error 10049 (Bind > Address not > available) Are you sure yo

Re: [twsocket] UDP Newbie...

2008-04-01 Thread Tobias Rapp
>> If I call listen and then try to send I get an error 10049 (Bind Address not >> available) > > Are you sure you filled in the correct IP? As an additional note: You can probably set the IP string of the server socket to "0.0.0.0" which will listen on all available interfaces. So you don't ha

Re: [twsocket] UDP Newbie...

2008-04-01 Thread Wilfried Mestdagh
Hello Mark, > If I call listen and then try to send I get an error 10049 (Bind Address not > available) Are you sure you filled in the correct IP? > If I call connect and then send, I see the data at the other end but I do > not get any response in the DataAvailable callback. No because of the

Re: [twsocket] UDP Newbie...

2008-03-31 Thread zayin
On Behalf Of Wilfried Mestdagh Sent: Monday, March 31, 2008 2:01 AM To: ICS support mailing Subject: Re: [twsocket] UDP Newbie... Hello Mark, > 1. Do I need two TWSocket? One to send and one to listen? No you set it to Listen, and you can send and receive with the same. > 2. Since this is

Re: [twsocket] UDP Newbie...

2008-03-31 Thread Wilfried Mestdagh
Hello Mark, > 1. Do I need two TWSocket? One to send and one to listen? No you set it to Listen, and you can send and receive with the same. > 2. Since this is broadcast, will I receive the data I transmit in the > OnDataAvaliable callback? Yes if you broadcast then you send to yourself also. S