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 and TCP on same socket - problem on WS2008 and W7

2012-07-24 Thread Stephen Dickason
>> On starting on either a Windows Server 2008 R2 Standard or Windows >> 7 machine, it comes up with an error message: Address not available >> (#10049 in setsockopt(IP_ADD_MEMBERSHIP)). > >MSDN says: > >IP_ADD_MEMBERSHIP - WSAEADDRNOTAVAIL - Do not call IP_ADD_MEMBERSHIP with >the same group more

Re: [twsocket] UDP and TCP on same socket - problem on WS2008 and W7

2012-07-23 Thread Stephen Dickason
>> On starting on either a Windows Server 2008 R2 Standard or Windows >> 7 machine, it comes up with an error message: Address not available >> (#10049 in setsockopt(IP_ADD_MEMBERSHIP)). > >MSDN says: > >IP_ADD_MEMBERSHIP - WSAEADDRNOTAVAIL - Do not call IP_ADD_MEMBERSHIP with >the same group more

Re: [twsocket] UDP and TCP on same socket - problem on WS2008 and W7

2012-07-20 Thread Angus Robertson - Magenta Systems Ltd
> On starting on either a Windows Server 2008 R2 Standard or Windows > 7 machine, it comes up with an error message: Address not available > (#10049 in setsockopt(IP_ADD_MEMBERSHIP)). MSDN says: IP_ADD_MEMBERSHIP - WSAEADDRNOTAVAIL - Do not call IP_ADD_MEMBERSHIP with the same group more than

[twsocket] UDP and TCP on same socket - problem on WS2008 and W7

2012-07-20 Thread Stephen Dickason
Hi. I'm trying to set up a program that will discover and communicate with peer instances on a local network. Ideally listening on a single port number. Setup: ICSv6 - modified ICSTCPSrv sample program in Turbo Delphi. The code seems to work fine on my XP machine - it picks up its own UDP broa

Re: [twsocket] udp server and network configuration changes

2012-02-06 Thread Emanuele Bizzarri
Hi Arno, I'll try it as soon as possible. Thank you, Bye - Messaggio originale - Da: "Arno Garrels" A: "ICS support mailing" Inviato: Lunedì, 6 febbraio 2012 9:05:52 Oggetto: Re: [twsocket] udp server and network configuration changes Emanuele Bizzarri wrot

Re: [twsocket] udp server and network configuration changes

2012-02-06 Thread Arno Garrels
Arno Garrels > > Bye > > > > - Messaggio originale - > Da: "François Piette" > A: "ICS support mailing" > Inviato: Venerdì, 3 febbraio 2012 18:37:02 > Oggetto: Re: [twsocket] udp server and network configuration changes > >> There is a way t

Re: [twsocket] udp server and network configuration changes

2012-02-05 Thread Emanuele Bizzarri
;ICS support mailing" Inviato: Venerdì, 3 febbraio 2012 18:37:02 Oggetto: Re: [twsocket] udp server and network configuration changes > There is a way to recognize networks changes like these? Have a look at IP Helper API: http://msdn.microsoft.com/en-us/library/aa366329(VS.85).aspx --

Re: [twsocket] udp server and network configuration changes

2012-02-03 Thread François Piette
> There is a way to recognize networks changes like these? Have a look at IP Helper API: http://msdn.microsoft.com/en-us/library/aa366329(VS.85).aspx -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS)

[twsocket] udp server and network configuration changes

2012-02-03 Thread Emanuele Bizzarri
Hi, I've an udp socket listening on :. If I make some network configuration changes, no socket error will be triggered. Is it normal? I've tested following cases: 1. switching off wifi: netstat tells that the socket is listening yet. And it will continue receive data (I've tried from a client on t

Re: [twsocket] UDP receive issue from a Windows service

2011-04-20 Thread Éric Fleming Bonilha
@elists.org Subject: [twsocket] UDP receive issue from a Windows service Hi ! I have a strange problem: in a windows service and using UDP, the service do not receive UDP datagram. Trying to debug this problem, I attach Delphi debugger to the running service and suddenly it starts receiving the UDP

Re: [twsocket] UDP receive issue from a Windows service

2011-04-19 Thread Francois PIETTE
While testing, I also had during some time FD_READ triggered but ReceiveFrom returning -1. Isn't that quite common, if those are WSAEWOULDBLOCK errors? As far as I know, not so much. I saw is returning -1 during 4 seconds which is the timeout time in my appication. -- francois.pie...@overby

Re: [twsocket] UDP receive issue from a Windows service

2011-04-19 Thread Arno Garrels
Francois PIETTE wrote: >>> GDisplayProc is assigned a routine which output the message to the >>> console window and to the log file and which is used all over the >>> application. >>> >>> Guess what ? It works ! >>> This is not satisfying since the log file is full of unwanted >>> messages and th

Re: [twsocket] UDP receive issue from a Windows service

2011-04-19 Thread Francois PIETTE
GDisplayProc is assigned a routine which output the message to the console window and to the log file and which is used all over the application. Guess what ? It works ! This is not satisfying since the log file is full of unwanted messages and this probably only hides the real problem. Does th

Re: [twsocket] UDP receive issue from a Windows service

2011-04-19 Thread Dave Baxter
Surely, an attached debugger is going to use some CPU time, however small even if nothing triggers it, therefore, the debugged program cycle timing will change somehow, however small. Plus, however the debugger works, it could be forcing some other process (in the kernel) to do it's job more often

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Arno Garrels
Francois PIETTE wrote: > GDisplayProc is assigned a routine which output the message to the > console window and to the log file and which is used all over the > application. > > Guess what ? It works ! > This is not satisfying since the log file is full of unwanted > messages and this probably o

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Wilfried Mestdagh
Hi Francois, > A dual mode service is an application which detect if it run as a > service I understeand. I did the same concept years ago -- mvg, Wilfried http://www.mestdagh.biz http://www.comfortsoftware.be http://www.expertsoftware.be -- To unsubscribe or change your settings for TWSocket

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Francois PIETTE
Actually the service is a dual mode service/app console and it works perfectly well as a console application (and also as a service when a debugger is attached). I do not understand the 'dual mode' but could that be a reason? A dual mode service is an application which detect if it run as a s

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Francois PIETTE
Seriously, what happens if you run the console application as a service with my NT Wrapper http://www.duodata.de/ntwrapper/? It will surely not work because my code for dual mode will be fooled, thinking it is a service application while it is not. If that works I guess the problem can be fo

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Wilfried Mestdagh
Hi Francois, > Actually the service is a dual mode service/app console and it works > perfectly well as a console application (and also as a service when a > debugger is attached). I do not understand the 'dual mode' but could that be a reason? What happens if you put your application into 1 obje

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Arno Garrels
Arno Garrels wrote: > Francois PIETTE wrote: >>> Maybe when you use the debugger then the application run >>> undeer a different user? >> >> I start the service which starts sending his UDP datagrams (This is a >> SNMP client) and waiting for UDP response which never comes. Then I >> attach the de

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Arno Garrels
Francois PIETTE wrote: >> Maybe when you use the debugger then the application run >> undeer a different user? > > I start the service which starts sending his UDP datagrams (This is a > SNMP client) and waiting for UDP response which never comes. Then I > attach the debugger to the running servic

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Francois PIETTE
When the debugger is attached is it exactly the same like when it's not attached for the program being executed ? I would say no since my application is working. But I would say it doesn't change the time required to do domething. OK then, my idea was that it's different. Actually I work with

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Dimitris Botsis
On 18/4/2011 5:35 μμ, Francois PIETTE wrote: I think that if you consider what I suggested before, might help you... It maybe has to do with extra process time the debugger gives Thanks for insisting. Which extra process time do you mean ? The debugger has just to be attached. No need to set a

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Francois PIETTE
I think that if you consider what I suggested before, might help you... It maybe has to do with extra process time the debugger gives Thanks for insisting. Which extra process time do you mean ? The debugger has just to be attached. No need to set any breakpoint nor single step. Just attach. I

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Francois PIETTE
Maybe when you use the debugger then the application run undeer a different user? I start the service which starts sending his UDP datagrams (This is a SNMP client) and waiting for UDP response which never comes. Then I attach the debugger to the running service process and suddenly the UDP da

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Dimitris Botsis
On 18/4/2011 5:12 μμ, Arno Garrels wrote: Maurizio Lotauro wrote: Maybe when you use the debugger then the application run undeer a different user? Not when the debugger is attached to a running process. If the debugger spawns the process to be debugged with CreateProcess then that might happe

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Arno Garrels
Maurizio Lotauro wrote: > Maybe when you use the debugger then the application run undeer a > different user? Not when the debugger is attached to a running process. If the debugger spawns the process to be debugged with CreateProcess then that might happen. -- Arno Garrels -- To unsubscribe o

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Maurizio Lotauro
Maybe when you use the debugger then the application run undeer a different user? Bye, Maurizio. This mail has been sent using Alpikom webmail system http://www.alpikom.it -- To unsubscribe or change your settings for TWSocket mailing list pl

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Angus Robertson - Magenta Systems Ltd
> *Subject:* Re: [twsocket] UDP receive issue from a Windows service > The code for the service is the code I already used in other > application which works fine (using TCP altough). I have UDP listen sockets in my ComCap application, running as a service, sucking in syslogs on port

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Francois PIETTE
I had a similar experience in the past, not with ICS components but generally working on a completely different project. When project was running normally at some point did not work but when attaching a debugger then it would work. The problem at that situation was that the program needed some ti

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Dimitris Botsis
On 18/4/2011 2:34 μμ, Francois PIETTE wrote: No idea, but that can't be a permission issue IMO. Receiving datagrams in a service running as system works fine. Also attaching a debugger doesn't change security context of the debugee. What happens is that a new thread is created in the process bein

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Francois PIETTE
No idea, but that can't be a permission issue IMO. Receiving datagrams in a service running as system works fine. Also attaching a debugger doesn't change security context of the debugee. What happens is that a new thread is created in the process being debugged, maybe there's some issue with your

Re: [twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Arno Garrels
Hello Francois, > Hi ! > > I have a strange problem: in a windows service and using UDP, the > service do not receive UDP datagram. Trying to debug this problem, I > attach Delphi debugger to the running service and suddenly it starts > receiving the UDP datagrams ! > > Actually the service is a

[twsocket] UDP receive issue from a Windows service

2011-04-18 Thread Francois PIETTE
Hi ! I have a strange problem: in a windows service and using UDP, the service do not receive UDP datagram. Trying to debug this problem, I attach Delphi debugger to the running service and suddenly it starts receiving the UDP datagrams ! Actually the service is a dual mode service/app conso

Re: [twsocket] UDP Receive problem

2011-04-15 Thread Francois PIETTE
ng Bonilha" To: "ICS support mailing" Sent: Saturday, April 16, 2011 1:01 AM Subject: Re: [twsocket] UDP Receive problem HI François Thanks for the advices Having two separet thread is not enough. You have to closely look at how the receiving thread communicate with the proce

Re: [twsocket] UDP Receive problem

2011-04-15 Thread Éric Fleming Bonilha
HI François Thanks for the advices Having two separet thread is not enough. You have to closely look at how the receiving thread communicate with the processing/display thread. For example if you use synchronize, you actually defeat the multithreading. Same with SendMessage. You must keep the

Re: [twsocket] UDP Receive problem

2011-04-14 Thread Francois PIETTE
freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: "Éric Fleming Bonilha" To: "ICS support mailing" Sent: Thursday, April 14, 2011 4:14 PM Subject: Re: [twsocket] UDP Receive problem HI François I thought on processing speed, b

Re: [twsocket] UDP Receive problem

2011-04-14 Thread emanuele bizzarri
iginal- From: Francois PIETTE > Sent: Thursday, April 14, 2011 2:07 AM > To: ICS support mailing > Subject: Re: [twsocket] UDP Receive problem > >> My application receives UDP data from IP Cameras, somehow we are not >> receiving some >> packets, but by using

Re: [twsocket] UDP Receive problem

2011-04-14 Thread Éric Fleming Bonilha
Sent: Thursday, April 14, 2011 2:07 AM To: ICS support mailing Subject: Re: [twsocket] UDP Receive problem My application receives UDP data from IP Cameras, somehow we are not receiving some packets, but by using a network sniffer I can see that the packet was received, but the application never

Re: [twsocket] UDP Receive problem

2011-04-13 Thread Francois PIETTE
My application receives UDP data from IP Cameras, somehow we are not receiving some packets, but by using a network sniffer I can see that the packet was received, but the application never receives it! I already checked receive buffer lengths.. I actually spent 2 entire days cheking for solut

[twsocket] UDP Receive problem

2011-04-13 Thread Éric Fleming Bonilha
Hi I´m experiencing a very weird problem and I hope someone can help me My application receives UDP data from IP Cameras, somehow we are not receiving some packets, but by using a network sniffer I can see that the packet was received, but the application never receives it! I´m using TWSocket

Re: [twsocket] udp packet loss

2011-03-01 Thread Francois PIETTE
01, 2011 10:11 AM Subject: Re: [twsocket] udp packet loss Hi Francois, hi all I cannot reproduce the packet loss on localhost. Strange. I always lose some packets on localhost (at least setting Interval=0 on the client). I can reproduce on different computers, but I found a flaw in your des

Re: [twsocket] udp packet loss

2011-03-01 Thread emanuele bizzarri
Hi Francois, hi all > I cannot reproduce the packet loss on localhost. Strange. I always lose some packets on localhost (at least setting Interval=0 on the client). > I can reproduce on different computers, but I found a flaw in your > design: remember TWSocket use non blocking. SendTo will fail

Re: [twsocket] udp packet loss

2011-02-28 Thread Anton S.
>var > lBuffer:array[0..1500] of AnsiChar; I'd advice you not to allocate static buffer inside a method because it is placed inside the stack every time method is called. -- Anton -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mai

Re: [twsocket] udp packet loss

2011-02-27 Thread Francois PIETTE
t Suite (ICS) http://www.overbyte.be - Original Message - From: "emanuele bizzarri" To: Sent: Sunday, February 27, 2011 7:05 PM Subject: Re: [twsocket] udp packet loss Hi, now I've made a console application for the UDP server, but nothing changes. I see packet loss inside app

Re: [twsocket] udp packet loss

2011-02-27 Thread emanuele bizzarri
Hi, now I've made a console application for the UDP server, but nothing changes. I see packet loss inside application, but all packets are correctly captured by wireshark. Thankyou, Emanuele Il 27/02/2011 15.09, Francois PIETTE ha scritto: >> My client/server project size is only 12KB, is it poss

Re: [twsocket] udp packet loss

2011-02-27 Thread Francois PIETTE
My client/server project size is only 12KB, is it possible to attach it to the mail? Someone could try it... It don't primize, but you may send the source code to me (no executable please) I will try to test it. Include complete projects so that I can test within a few minutes, and instruction

Re: [twsocket] udp packet loss

2011-02-27 Thread emanuele bizzarri
Hi, > I'll assume you use a direct cable or put wireshark at the receiving > computer because sending a packet is not a problem. Having the packet > reaching the network card of the receiving computer is a different thing > if there is something in between. Yes, I use a cross cable and two laptop

Re: [twsocket] udp packet loss

2011-02-26 Thread Francois PIETTE
I need to use udp because my application is an h323/sip endpoint. RTP uses udp sockets to transmit/receive audio/video data. RTCP can be used to manage packet loss. OK, good. But in this case packets are not lost by the network. If I use wireshark I can see all the packets. I'll assume you u

Re: [twsocket] udp packet loss

2011-02-26 Thread emanuele bizzarri
Hi, I need to use udp because my application is an h323/sip endpoint. RTP uses udp sockets to transmit/receive audio/video data. RTCP can be used to manage packet loss. But in this case packets are not lost by the network. If I use wireshark I can see all the packets. I think that there is a prob

Re: [twsocket] udp packet loss

2011-02-26 Thread Francois PIETTE
As you can see Sorry, no time to examine it in details. Priority is given to my business customers... in my code I've also try to set tpTimeCritical to thread priority, but without any success. The worker thread check if expected packet number (first four bytes) corresponds to expected pack

Re: [twsocket] udp packet loss

2011-02-26 Thread Angus Robertson - Magenta Systems Ltd
> As you can see in my code I've also try to set tpTimeCritical to > thread priority, but without any success. Try changing the application priority: SetPriorityClass (GetCurrentProcess, HIGH_PRIORITY_CLASS); or even REALTIME_PRIORITY_CLASS, but this last one can be dangerous since Windows may

Re: [twsocket] udp packet loss

2011-02-26 Thread emanuele bizzarri
Hi Francois, thank you for your response. I've created the socket inside DoInit, that is an override method of the virtual DoInit of the worker thread. The DoInit method is called inside Execute method, so the socket is created by the thread and its messages are handled by it (try to use GetThreadI

Re: [twsocket] udp packet loss

2011-02-26 Thread Francois PIETTE
I've a problem with udp. Often my application detects packet losses. At first glance, this is expected with UDP. By construction UDP is an unreliable transport. In order to systematically reproduce the problem, I've used the following configuration. I use 2 pc connected with a cross cable. T

[twsocket] udp packet loss

2011-02-26 Thread emanuele bizzarri
Hi, I've a problem with udp. Often my application detects packet losses. In order to systematically reproduce the problem, I've used the following configuration. I use 2 pc connected with a cross cable. The client sends udp numbered packets to the server. Packet size is 1460. One packet is sent ev

Re: [twsocket] UDP broadcast error "Permission denied"

2010-12-23 Thread Arno Garrels
quot; > To: > Sent: Thursday, December 23, 2010 12:20 PM > Subject: [twsocket] UDP broadcast error "Permission denied" > > >> Hi, >> >> When I try a SendTo() address "255.255.255.255" with an UDP listening >> TWSocket I get error WSA

Re: [twsocket] UDP broadcast error "Permission denied"

2010-12-23 Thread Francois PIETTE
- Original Message - From: "Arno Garrels" To: Sent: Thursday, December 23, 2010 12:20 PM Subject: [twsocket] UDP broadcast error "Permission denied" Hi, When I try a SendTo() address "255.255.255.255" with an UDP listening TWSocket I get error WSAEACCE

[twsocket] UDP broadcast error "Permission denied"

2010-12-23 Thread Arno Garrels
Hi, When I try a SendTo() address "255.255.255.255" with an UDP listening TWSocket I get error WSAEACCES "Permission denied", is this normal?. SendTo() "192.168.1.255" works, Firewall is turned off. procedure TMyServer.UdpListen; begin if FUDP = nil then FUDP := TWSocket.Create(nil); FUD

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Signed Source® Project
I have done it already :) Thanks guys. -daniel On 2.12.2010 20:06, Arno Garrels wrote: Signed Source® Project wrote: Thanks Arno, Found it! I have version 7 yes, but I don't know what version 7 it is exactly. I haven't got any of these in my version 7. Then you use an old and buggy ICS vers

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Arno Garrels
Signed Source® Project wrote: > Thanks Arno, > Found it! > I have version 7 yes, but I don't know what version 7 it is exactly. > I haven't got any of these in my version 7. Then you use an old and buggy ICS version. Get latest ICSv7 from the wiki link Francois posted in his previous mail. --

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Signed Source® Project
Thanks Arno, Found it! I have version 7 yes, but I don't know what version 7 it is exactly. I haven't got any of these in my version 7. Thanks again. -daniel On 2.12.2010 19:21, Arno Garrels wrote: Signed Source® Project wrote: Thanks Francois, There is a demo in the new package, which is a

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Arno Garrels
Signed Source® Project wrote: > Thanks Francois, > There is a demo in the new package, > which is a consule demo, do we have anything simple like: one or two > button with a memo which shows easy and clearly about what and how? Search for OverbyteIcsUdpLstn.* in the Internet directory. There's als

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Signed Source® Project
Thanks Francois, There is a demo in the new package, which is a consule demo, do we have anything simple like: one or two button with a memo which shows easy and clearly about what and how? thanks -daniel On 2.12.2010 18:32, Francois PIETTE wrote: The demos are not in the component folder (v

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Francois PIETTE
The demos are not in the component folder (vc32) but in the "Internet" folder. I have check everything I have and still can't find such demo. Is it downloadable from somewhere? All the demos are in the standard distribution. Ahve a look here: http://wiki.overbyte.be/wiki/index.php/ICS_Downloa

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Signed Source® Project
"ICS support mailing" Sent: Thursday, December 02, 2010 4:28 PM Subject: Re: [twsocket] TWSocket UDP capturing Hi Francois, Where do you exactly have this demo? I can't find it in my component folder. I unfortunately still don't understand this! I just want to add the available d

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Signed Source® Project
/wiki.overbyte.be -- francois.pie...@overbyte.be The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: "Signed Source® Project" To: "ICS support mailing"

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Francois PIETTE
//www.overbyte.be - Original Message - From: "Signed Source® Project" To: "ICS support mailing" Sent: Thursday, December 02, 2010 4:28 PM Subject: Re: [twsocket] TWSocket UDP capturing Hi Francois, Where do you exactly have this demo? I can't find it in my compo

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Signed Source® Project
Hi Francois, Where do you exactly have this demo? I can't find it in my component folder. I unfortunately still don't understand this! I just want to add the available data into the memo, what all other things are? Is there any help somewhere? thanks -daniel On 2.12.2010 15:42, Francois PIET

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Francois PIETTE
'--> ' + String(StrPas(Buffer)); end; end; end; -- francois.pie...@overbyte.be http://www.overbyte.be - Original Message - From: "Signed Source® Project" To: "ICS support mailing" Sent: Thursday, December 02, 2010 2:27 PM Su

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Signed Source® Project
freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: "Signed Source® Project" To: "ICS Components" Sent: Thursday, December 02, 2010 1:08 PM Subject: [twsocket] TWSocket

Re: [twsocket] TWSocket UDP capturing

2010-12-02 Thread Francois PIETTE
Source® Project" To: "ICS Components" Sent: Thursday, December 02, 2010 1:08 PM Subject: [twsocket] TWSocket UDP capturing Hi guys, I am trying to capture UDP packages from a device placed in my network with TWSocket. I am unfortunately lost because I don't know how to do

[twsocket] TWSocket UDP capturing

2010-12-02 Thread Signed Source® Project
Hi guys, I am trying to capture UDP packages from a device placed in my network with TWSocket. I am unfortunately lost because I don't know how to do it. I will be very pleased if there are any samples, if not I can put this one on the site after I made it working because it will basically look

[twsocket] UDP...

2010-09-08 Thread zayin
Hi, Using TCP, when I call connect I can supply an IP address or a hostname. For UDP, I call listen without setting up an IP address or hostname. For UDP, I use SendTo and one of the parameters is the TSockAddrIn. I can populate it and all is fine. Now, if the user supplies a hostname and not

Re: [twsocket] UDP...

2010-03-24 Thread zayin
ing Subject: Re: [twsocket] UDP... >> ...originating only from that interface. > > I have done that kind of binding before using LocalAddr. I assume it would > be the same property for UDP. No, that is different. Actually a socket has two ends: one local and one remote. Each has his IP

Re: [twsocket] UDP...

2010-03-24 Thread Francois PIETTE
...originating only from that interface. I have done that kind of binding before using LocalAddr. I assume it would be the same property for UDP. No, that is different. Actually a socket has two ends: one local and one remote. Each has his IP an port number. When you use a socket for listenin

Re: [twsocket] UDP...

2010-03-24 Thread zayin
? I am so confused. ;) Thanks for all the help, Mark -Original Message- From: twsocket-boun...@elists.org [mailto:twsocket-boun...@elists.org] On Behalf Of Francois PIETTE Sent: Wednesday, March 24, 2010 12:50 PM To: ICS support mailing Subject: Re: [twsocket] UDP... Using addr

Re: [twsocket] UDP...

2010-03-24 Thread Francois PIETTE
g'" Sent: Wednesday, March 24, 2010 1:55 PM Subject: Re: [twsocket] UDP... Hi, Thanks. I set the addr to 0.0.0.0, switched to SendTo and the reply was correct. Since I will be communicating with many of these external devices I wanted one TWSocket for each external device, that was why

Re: [twsocket] UDP...

2010-03-24 Thread zayin
, March 24, 2010 3:03 AM To: 'ICS support mailing' Subject: Re: [twsocket] UDP... Hi, > WSocket1.Addr:='192.168.1.2'; > WSocket1.port:='9600'; > I get an error 10049. Means you cannot bind to that address. '192.168.1.2' is the address on the remote

Re: [twsocket] UDP...

2010-03-24 Thread wilfried Mestdagh
woensdag 24 maart 2010 1:12 Aan: twsocket@elists.org Onderwerp: [twsocket] UDP... Hello, I ran into this a couple years ago and I found a work around so I dropped it. Now, new computer, new OS, new task. So, any reasons for my failure that might have been computer/OS related are... I am using Wi

[twsocket] UDP...

2010-03-23 Thread zayin
Hello, I ran into this a couple years ago and I found a work around so I dropped it. Now, new computer, new OS, new task. So, any reasons for my failure that might have been computer/OS related are... I am using Wireshark to verify what I am seeing. Using D2007 and ICS version 5.25, UDP with TWS

Re: [twsocket] Using TWSocket udp listening in Windows serviceapplication

2010-02-18 Thread Francois PIETTE
I wonder is it possible to use TWSocket in Windows service application? Yes, see sample OverbyteIcsSvcTcp I tried the same code as in udplstn.dpr and can't make it work. I guess it could be related to the fact that windows messages used to signal socket events and it may not work in service. A

Re: [twsocket] Using TWSocket udp listening in Windows service application

2010-02-18 Thread Angus Robertson - Magenta Systems Ltd
> I wonder is it possible to use TWSocket in Windows service > application? I tried the same code as in udplstn.dpr and can't make > it > work. I guess it could be related to the fact that windows messages > used to signal socket events and it may not work in service. Am I > right? TWSocket works

[twsocket] Using TWSocket udp listening in Windows service application

2010-02-18 Thread Eugene Kotlyarov
Hi I wonder is it possible to use TWSocket in Windows service application? I tried the same code as in udplstn.dpr and can't make it work. I guess it could be related to the fact that windows messages used to signal socket events and it may not work in service. Am I right? -- To unsubscribe or cha

Re: [twsocket] UDP Address

2008-10-17 Thread Maurizio Lotauro
Scrive Wilfried Mestdagh <[EMAIL PROTECTED]>: > Hello Martin, > > Here is a small example: > > procedure TFoo.FUDPDataAvailable(Sender: TObject; Error: word); > var >Buffer: array [0..1023] of char; >Len: integer; >Src: TSockAddrIn; >SrcLen: integer; > begin >SrcLen := SizeOf

Re: [twsocket] UDP Address

2008-10-16 Thread Xealot
Thank you SO much. I really appreciate it. - Martin E. On Fri, Oct 17, 2008 at 7:37 AM, Wilfried Mestdagh <[EMAIL PROTECTED]>wrote: > Hello Martin, > > Here is a small example: > > procedure TFoo.FUDPDataAvailable(Sender: TObject; Error: word); > var > Buffer: array [0..1023] of char; > Len

Re: [twsocket] UDP Address

2008-10-16 Thread Wilfried Mestdagh
Hello Martin, Here is a small example: procedure TFoo.FUDPDataAvailable(Sender: TObject; Error: word); var Buffer: array [0..1023] of char; Len: integer; Src: TSockAddrIn; SrcLen: integer; begin SrcLen := SizeOf(Src); Len := TWSocket(Sender).ReceiveFrom(@Buffer, SizeOf(Buffer),

Re: [twsocket] UDP Address

2008-10-16 Thread Xealot
: "Xealot" <[EMAIL PROTECTED]> > To: "ICS support mailing" > Sent: Friday, October 17, 2008 05:01 > Subject: Re: [twsocket] UDP Address > > > > Thank you for replying, > > > > PeerAddr raises a SocketException > > > > 'Error 1005

Re: [twsocket] UDP Address

2008-10-16 Thread brian
Maybe GetPeerAddr? - Original Message - From: "Xealot" <[EMAIL PROTECTED]> To: "ICS support mailing" Sent: Friday, October 17, 2008 05:01 Subject: Re: [twsocket] UDP Address > Thank you for replying, > > PeerAddr raises a SocketException > > &#

Re: [twsocket] UDP Address

2008-10-16 Thread Xealot
lient port On Fri, Oct 17, 2008 at 4:54 AM, brian <[EMAIL PROTECTED]> wrote: > Have you checked PeerAddr? > > - Original Message - > From: "Xealot" <[EMAIL PROTECTED]> > To: > Sent: Friday, October 17, 2008 04:47 > Subject: [twsocket] UDP Addre

Re: [twsocket] UDP Address

2008-10-16 Thread brian
Have you checked PeerAddr? - Original Message - From: "Xealot" <[EMAIL PROTECTED]> To: Sent: Friday, October 17, 2008 04:47 Subject: [twsocket] UDP Address > Hello! > > I would like to know if its possible to get the address that a UDP packet > co

[twsocket] UDP Address

2008-10-16 Thread Xealot
Hello! I would like to know if its possible to get the address that a UDP packet comes from. I am making an application that will send multiple packets to different hosts using SendTo and I will be receiving replies from them. I have no power to change the protocol, so I need to know if its poss

Re: [twsocket] UDP question...

2008-07-22 Thread Francois PIETTE
> Thanks for the answer and the link. This has now become a bit easier task. > > One last question. The PC has several network cards and the networks are > completely separate. > > I need to handle datagrams from all networks. I have a TWSocket with addr > set to 0.0.0.0 and localAddr is blank. I

Re: [twsocket] UDP question...

2008-07-22 Thread zayin
:13 AM To: ICS support mailing Subject: Re: [twsocket] UDP question... > This is the first time I am writing a UDP server. The other UDP was a > client. It was fairly straight forward. > > As the server lets say I have 2 clients, A and B, that will be sending > me unsolicited da

  1   2   3   >