Re: [twsocket] UDP Newbie...

2008-04-07 Thread Wilfried Mestdagh
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 used SendStr just because I was lazy :) I tryed it on a machine with an older version of ICS, but it is exacly same result

Re: [twsocket] UDP Newbie...

2008-04-07 Thread Dave Baxter
! -Original Message- From: zayin [mailto:[EMAIL PROTECTED] Sent: Sunday, April 06, 2008 10:06 PM To: 'ICS support mailing' Subject: Re: [twsocket] UDP Newbie... Hi, No virus programs. Windows firewall is on. Thanks for all the help, Mark -Original Message- From

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

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;

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, Graphics

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Wilfried Mestdagh
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... Hello Mark, I tryed to do the same as you listen

Re: [twsocket] UDP Newbie...

2008-04-06 Thread zayin
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 Mark, if you

Re: [twsocket] UDP Newbie...

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

Re: [twsocket] UDP Newbie...

2008-04-06 Thread Wilfried Mestdagh
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 will show you all opened/listening port. if none is listening on your port then you

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 zayin, I

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-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-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 have to

Re: [twsocket] UDP Newbie...

2008-04-01 Thread zayin
] [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 you filled in the correct IP

Re: [twsocket] UDP Newbie...

2008-04-01 Thread Ionut Muntean
does require two TWSocket. One to send and one to listen. Ideas? Ciao, Mark -Original Message- From: [EMAIL PROTECTED] [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

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;

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.

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 broadcast

[twsocket] UDP Newbie...

2008-03-30 Thread zayin
Hi, I am new to programming for UDP, always used TCP, and I have searched for answers to some basic questions without joy. Hopefully there are quick questions to answer. When using TCP and I am the client I use a TWSocket, connect and use the object to send and receive data. When using TCP and