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
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
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
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
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
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
>
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
>> 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
>> 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
> 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
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
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
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
;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
--
> 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)
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
@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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> *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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
>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
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
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
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
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
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
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
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
> 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
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
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
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
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
- 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
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
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
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.
--
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
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
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
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
"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
/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"
//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
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
'--> ' + 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
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
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
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
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
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
...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
? 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
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
, 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
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
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
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
> 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
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
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
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
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),
: "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
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
>
>
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
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
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
> 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
: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 - 100 of 216 matches
Mail list logo