PDA

View Full Version : sending data



Waddo
09-10-2008, 04:57 PM
i need to send data from 1 delphi app to another how would i do it

i need to use sockets or indy or something

nielsie95
09-10-2008, 05:00 PM
Have you googled?

http://delphi.about.com/od/networking/l/aa112602a.htm

Waddo
09-10-2008, 05:02 PM
ive tried that however it didnt seem to wokr for me but i was using 2007 ill try again now with 7

Freddy1990
09-10-2008, 06:27 PM
Do you need to send this data on the same machine or across a network/internet?

ShowerThoughts
09-10-2008, 06:31 PM
He wants to send info through internet (multiplayer blackjack game)

Waddo
09-10-2008, 07:09 PM
yes online please help me freddy me will wuv you forever even more than now

mastaraymond
09-10-2008, 07:28 PM
Go back to SCAR Programming ^^.

Waddo
09-10-2008, 07:59 PM
Why I want to learn some delphi but i will come back i just hate rs scripting
if i think of any good functions or out ill make em =]

I didnt realise you would miss me =p

jakeyboy29
09-10-2008, 08:17 PM
i wouldnt miss you

only joking babe. but i cant help you on this topic

ShowerThoughts
09-10-2008, 08:33 PM
i wouldnt miss you

only joking babe. but i cant help you on this topic

Why you post here then? That's so useless I hope you red this post and learn from it.

Daniel
09-11-2008, 08:05 AM
To send to another app, use the SendInterSCARMessage, Freddy has allowed others to view the source ;) To send over the internet, i think you should add the WinINet to your uses (not sure if that's the one, but :rolleyes:).

mastaraymond
09-11-2008, 01:41 PM
To send to another app, use the SendInterSCARMessage, Freddy has allowed others to view the source ;) To send over the internet, i think you should add the WinINet to your uses (not sure if that's the one, but :rolleyes:).
No. TcpClient and TcpSever ;d.

Waddo
09-11-2008, 03:47 PM
the tuts say server socket and client socket so il try the tcp ones
he tuts dont wokr =]

Freddy1990
09-12-2008, 03:37 PM
You can keep it easy and use the indy components, they have good tcp support

Waddo
09-12-2008, 08:28 PM
you wouldnt be able to find me a good tut that works for delphi 2007 would you ive looked everywhere they never work

mastaraymond
09-12-2008, 10:47 PM
It's because delphi 2007 uses Indy 10, where almost everything has changed :).

On the bright side, Indy 10 has an excellent documentation :).

Daniel
09-12-2008, 11:50 PM
It's because delphi 2007 uses Indy 10, where almost everything has changed :).

On the bright side, Indy 10 has an excellent documentation :).
On the other bright side, Indy 10 has better features than before :)

mastaraymond
09-13-2008, 09:11 AM
On the other bright side, Indy 10 has better features than before :)
I'm not quite sure about that. Old indy 9 does everything it does for me :).
Indy 10 just has extended functions, I guess ^_^.