If I use TWSocket in UDP mode, do I require 2 TWSocket components (1 to
Send
and 1 to listen)
is this correct ??or can 1 TWSocket be used to send and listen to UDP
data
Only one is enough.
The one which listen may also send UDP datagrams to a specific host using
SendTo method.
Also
Hi all..
If I use TWSocket in UDP mode, do I require 2 TWSocket components (1 to Send
and 1 to listen)
is this correct ??or can 1 TWSocket be used to send and listen to UDP
data
Thanks for any help
Ray
--
To unsubscribe or change your settings for TWSocket mailing list
please go
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
author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
- Original Message -
From: "Hein du Plessis" <[EMAIL PROTECTED]>
To: "'ICS support mailing'"
Sent: Friday, August 15, 2008 5:06 PM
Subject: Re: [twsocket] Using TWSocket
> Fra
PROTECTED] On
Behalf Of Francois PIETTE
Sent: 15 August 2008 16:20
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
> Size: Word;
> p:= @Size;
> WSocket.Send(Size,2); // THIS IS THE PROBLEM. IT WORKS IF I NOW USE P
> as
Send takes a pointer as first parameter. You ar
et Component Suite (ICS)
http://www.overbyte.be
- Original Message -
From: "Hein du Plessis" <[EMAIL PROTECTED]>
To: "'ICS support mailing'"
Sent: Friday, August 15, 2008 3:08 PM
Subject: Re: [twsocket] Using TWSocket
> Hi There
>
> Here is
Hi,
Yes in the mean time I've adjusted the code, please see previous email.
Regards,
Hein
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francois PIETTE
Sent: 15 August 2008 14:09
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
&
E P as
the parameter.
WSocket.SendStr(Msg);
XMLData.Free;
SizeData.Free;
end;
Just change
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francois PIETTE
Sent: 15 August 2008 12:23
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
> T
>> The error I received was "There is no overloaded version of "Send" that
>> can
>> be called with these arguments.
>>
>> This is when I try to send a variable of type word. The @ prefix did not
>> work either.
>> WSocket.BufSize:= 2;
>> p:= @Size;
>> WSocket.Send(p);
TWSocket.Send require tw
> Would be REALLY interesting to see the offending line !
He gave it in an earlier message, only one parameter so clearly an error,
and not pointing to any data either but the size, and corrupting the main
buffer:
WSocket.BufSize:= 2;
p:= @Size;
WSocket.Send(p);
Angus
--
To unsubscribe
> The error I received was "There is no overloaded version of "Send" that
> can
> be called with these arguments.
>
> This is when I try to send a variable of type word. The @ prefix did not
> work either.
Would be REALLY interesting to see the offending line !
> I'm using Delphi 2007 Version 11
further updates available.
Regards,
Hein
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Francois PIETTE
Sent: 15 August 2008 11:43
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
> I declared p as TWSocketData, assigned my data to it an
> I declared p as TWSocketData, assigned my data to it and Send sends it
> perfectly! Strange that I cant use my data straight in the send method (I
> get the type mismatch error).
Please post your code snippet here, and the exact error message.
Which Delphi version are you using ?
Are you sure yo
] On
Behalf Of Francois PIETTE
Sent: 15 August 2008 09:03
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
>I have tried to ctrl+click to find the delcaration, but it would not.
Have you tried CTRL+SHFT+F (Find in files) ? This always work !
TWSocketData is defined in WSockBuf.
.be
- Original Message -
From: "Hein du Plessis" <[EMAIL PROTECTED]>
To: "'ICS support mailing'"
Sent: Friday, August 15, 2008 8:08 AM
Subject: Re: [twsocket] Using TWSocket
>I have tried to ctrl+click to find the delcaration, but it would not.
>
mailing
Subject: Re: [twsocket] Using TWSocket
>functionSend(const Data : TWSocketData; Len : Integer) : Integer;
> overload; virtual;
>
> What is TWSocketData ??
In Delphi, your CTRL+Click on the symbol to find the definition.
Find in files also work nice.
--
[EMAIL PROTECTED
ware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be
- Original Message -
From: "Hein du Plessis" <[EMAIL PROTECTED]>
To: "'ICS support mailing'"
Sent: Thursday, August 14, 2008 6:38 PM
Subject: Re: [tws
:08
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
Then you can either use .send with a memory pointer or load the entire xml
into a string
- Original Message -
From: "Hein du Plessis" <[EMAIL PROTECTED]>
To: "'ICS support mailing'"
Sen
L message as a
string in sendstr as you've said.
Thanks ahead
Hein
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of brian
Sent: 14 August 2008 18:08
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
Then you can either use .send with a memo
Then you can either use .send with a memory pointer or load the entire xml
into a string
- Original Message -
From: "Hein du Plessis" <[EMAIL PROTECTED]>
To: "'ICS support mailing'"
Sent: Thursday, August 14, 2008 5:44 PM
Subject: Re: [twsoc
17:29
To: ICS support mailing
Subject: Re: [twsocket] Using TWSocket
you can use SendStr to send a simple text
- Original Message -
From: "Hein du Plessis" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 14, 2008 4:59 PM
Subject: [twsocket] Using TWSocket
> Hi All
>
you can use SendStr to send a simple text
- Original Message -
From: "Hein du Plessis" <[EMAIL PROTECTED]>
To:
Sent: Thursday, August 14, 2008 4:59 PM
Subject: [twsocket] Using TWSocket
> Hi All
>
> I'm trying to write a simple TCP/IP app but I'm n
Hi All
I'm trying to write a simple TCP/IP app but I'm not sure how to actually
send data. The Send Method of ICS v6 requires a data type TWSocketData, yet
the documentation states it needs a pointer.
On the ICS page there is mention of a sample app, Client5, that would
probably solve my proble
25 matches
Mail list logo