Re: [twsocket] send and receive file

2009-03-23 Thread sujono siauw

No, what i mean's is i don't build with runtime packages. So the execute files 
will became smaller.

--- On Mon, 3/23/09, Dod do...@sky.fr wrote:

 From: Dod do...@sky.fr
 Subject: Re: [twsocket] send and receive file
 To: ICS support mailing twsocket@elists.org
 Date: Monday, March 23, 2009, 12:38 PM
 Hello sujono,
 
 I  don't  understand  why  you want to
 exclude BPL files but it's your
 choice, so are your talking about excluding ICS BPL package
 too ?
 
 regards.
 
 ss Dear Francois,
 ss 
 ss Probably your question should be: How can I design
 my own file transfer
 ss protocol because I don't want to use a standard
 protocol ?
 ss Right ? 
 
 ss :D Almost right, here's the situation. When i build
 program with delphi ussualy i excluded the bpl files from
 execute file, so if any user who want's to use the execute
 file it must copy all the
 ss bpl file. Now i want to made with ics is when user
 used the program, it's check if in the client there's a bpl
 files that required to run the application if not then it
 will download form server
 ss application. That way i ask this question.
 
 
 ss nb:if i still don't understand what i write please
 smile :d my english isn't good enough yet.
 
 
 ss --- On Sat, 3/21/09, Francois PIETTE francois.pie...@skynet.be
 wrote:
 
  From: Francois PIETTE francois.pie...@skynet.be
  Subject: Re: [twsocket] send and receive file
  To: ICS support mailing twsocket@elists.org
  Date: Saturday, March 21, 2009, 1:06 PM
   what i wanna ask is can i
  sending a file using TWSocket. Like txt file or
   something like that, thank's
  
  Obviously you can send files using TWSocket: HTTP,
 FTP,
  SMTP, POP3 and 
  MidWare components all built on TWSocket are - as
 you know
  - abble to 
  send/receive files.
  
  Probably your question should be: How can I design
 my own
  file transfer 
  protocol because I don't want to use a standard
 protocol ?
  
  Right ?
  
  btw: On the user made link at overbyte website,
 you'll
  find a demo about 
  sending/receiving files. This demo implement a
 simple
  custom protocol.
  
  --
  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
  
  -- 
  To unsubscribe or change your settings for
 TWSocket mailing
  list
  please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
  Visit our website at http://www.overbyte.be
  
 
 
 -- 
 To unsubscribe or change your settings for TWSocket mailing
 list
 please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
 Visit our website at http://www.overbyte.be
 


  
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] ICS IGMP

2009-03-23 Thread Primoz Gabrijelcic
Hello all!

Does anybody have a working code that sends IGMP requests? I search the net but 
found nothing but standards ... I'll reimplement the stuff in any occasion but 
I find source code more readable than RFCs.

TIA, 
Primoz

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] HttpCli extract Header Variable together with php

2009-03-23 Thread wayne forrest
I am not sure how to extract a header variable with ICS HttpCli together
with php

Below is what I have tried:

*DELPHI*

Memo2.Lines.Add('MyVar =' + HttpCli1.RcvdHeader.Values['MY_VAR']);

*
PHP*

header(MY_VAR=$alist);

I also tried this line below

header(MY_VAR: MY_VAR=$alist);
-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] send and receive file

2009-03-23 Thread Francois PIETTE
 Now i want to made with ics is when user used the program, it's check if 
 in
 the client there's a bpl files that required to run the application if not 
 then it
 will download form server application.

It is probably easier for you to put your BPL files on a FTP or HTTP server, 
and then use ICS FTP or HTTP client components to download the required 
file. Much easier to use a standard protocol such as FTP or HTTP than 
designing your own custom protocol.

To start your code, see FtpTst or HttpTst sample programs.

Also, I saw that you are using Midware. You can do the file transfer using 
MidWare altough MidWare is not designed to do file transfert, you can easily 
load a file into a field as a blob. This is less efficient than using FTP or 
HTTP, but it is easier to integrate in a Midware application and you can 
easily handle special processing you may need.

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

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] send and receive file

2009-03-23 Thread Francois PIETTE
 No, what i mean's is i don't build with runtime packages. So the execute 
 files will became smaller.

I will assume you use runtime packages since you are telling us you want to 
download BPL files.

btw: Personnaly, I usualy avoid runtime packages. It is more complex for the 
user. I use runtime packages only when really required, for example when 
using plugings.

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

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] HttpCli extract Header Variable together with php

2009-03-23 Thread Francois PIETTE
I am not sure how to extract a header variable with ICS HttpCli together
 with php

No sure about what you mean by header variable. 
As far as I know, there is no such concept in HTTP protocol.
Maybe you mean header line ?

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

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS IGMP

2009-03-23 Thread Francois PIETTE
 Does anybody have a working code that sends IGMP requests?
 I search the net but found nothing but standards ...
 I'll reimplement the stuff in any occasion but I find source code more 
 readable than RFCs.

Sorry, never saw source code for IGMP.

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

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] ICS IGMP

2009-03-23 Thread Francois PIETTE
 My next problem is this - MCAST_JOIN_GROUP requires me to pass a GROUP_REQ 
 structure which contains the following member:

 gr_interface
 The interface index of the local interface on which the multicast group 
 should be joined or dropped.

 Is this something I can retrieve using ICS or do I have to call 
 GetAdaptersAddresses, parse the output and find the appropriate network 
 interface?

You have to use IpHelper functions like GetAdaptersAddresses.

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

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be