Re: [twsocket] UDP Problem

2013-01-08 Thread Jack Moran
Never mind! I see now I had to add the WSocket from the pallet. On Jan 7, 2013, at 12:17 PM, Arno Garrels wrote: > Jack Moran wrote: >> That's probably my problem. How do I install ICS? I'm just adding >> files to the project. >> >> I'm using Delphi XE2 and ICS Gold. > > Quoted from ReadMe7.t

Re: [twsocket] UDP Problem

2013-01-08 Thread Jack Moran
I believe I have installed the packages correctly. The Overbyte samples work perfectly. When I went to my own application, I had to manually put the VC32 folder in the library path. The application compiles okay, but WSocket is nil on the first call (similar to the SendButtonClick procedure) and

Re: [twsocket] UDP Problem

2013-01-07 Thread Jack Moran
Thanks, Arno. I completely missed the read me file. It's working fine now. I appreciate the excellent support. On Jan 7, 2013, at 12:17 PM, Arno Garrels wrote: > Jack Moran wrote: >> That's probably my problem. How do I install ICS? I'm just adding >> files to the project. >> >> I'm using Del

Re: [twsocket] UDP Problem

2013-01-07 Thread Arno Garrels
Jack Moran wrote: > That's probably my problem. How do I install ICS? I'm just adding > files to the project. > > I'm using Delphi XE2 and ICS Gold. Quoted from ReadMe7.txt: {code} INSTALLATION USING THE INSTALL PROJECT GROUPS For each Delphi and C++ Builder version one project group is provide

Re: [twsocket] UDP Problem

2013-01-07 Thread Jack Moran
That's probably my problem. How do I install ICS? I'm just adding files to the project. I'm using Delphi XE2 and ICS Gold. On Jan 7, 2013, at 11:42 AM, "Arno Garrels" wrote: > Jack Moran wrote: >> I am having a problem with OverbyteIcsUdpSend. On compilation I get a >> message "Field MainForm

Re: [twsocket] UDP Problem

2013-01-07 Thread Arno Garrels
Jack Moran wrote: > I am having a problem with OverbyteIcsUdpSend. On compilation I get a > message "Field MainForm.Wsocket" does not have a corresponding > component. Remove the declaration?" I say No, but then get an access > violation at 0x00544c24 when it tries to set Wsocket. I've tried both >

[twsocket] UDP Problem

2013-01-07 Thread Jack Moran
I am having a problem with OverbyteIcsUdpSend. On compilation I get a message "Field MainForm.Wsocket" does not have a corresponding component. Remove the declaration?" I say No, but then get an access violation at 0x00544c24 when it tries to set Wsocket. I've tried both the XE2 and XE3 versions

Re: [twsocket] UDP problem

2008-02-06 Thread Dod
Hello Skok, Add one TWSocket for sending data and one TWSocketServer for receiving. In TWSocket do the .Send or .SendStr to 255.255.255.255 and do .Close in OnDataSent. Do .Listen for your TWSocketServer and check OnDataAvailable. That's all, I have done a tool that do same thing you want,

Re: [twsocket] UDP problem

2008-02-06 Thread Skok Tone
Well, I'm trying to do server and client UDP with one component. So, if I want do receive udp packet from network, I have to do Listen on some port, and if I want to send UDP packets, I hava to do Send. But since component is already listening, I can send only with SendTo. And this sendto must

Re: [twsocket] UDP problem

2008-02-06 Thread Dod
Hello Skok, I don't really know what the problem is but I think you do something too complicated... A simple .Send to 255.255.255.255 is enought, then OnDataSent do a .Close why use a TTimer ? ST> I'm trying to create application that would run on multiple machines. ST> This application has to

[twsocket] UDP problem

2008-02-05 Thread Skok Tone
Hello all, I'm trying to create application that would run on multiple machines. This application has to know IP addresses of all other machines running same software. I'm trying to do something like discovery on network. Protocol I decided to use for discovery is UDP. On mailing list I already