SRL Archive - Delphi/FPC Help and Tutorials

sending data


Waddo

2008-09-10 12:57:38

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

2008-09-10 13:00:09

Have you googled?

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

Waddo

2008-09-10 13:02:13

ive tried that however it didnt seem to wokr for me but i was using 2007 ill try again now with 7

Freddy1990

2008-09-10 14:27:25

Do you need to send this data on the same machine or across a network/internet?

ShowerThoughts

2008-09-10 14:31:56

He wants to send info through internet (multiplayer blackjack game)

Waddo

2008-09-10 15:09:55

yes online please help me freddy me will wuv you forever even more than now

mastaraymond

2008-09-10 15:28:28

Go back to SCAR Programming ^^.

Waddo

2008-09-10 15:59:58

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

2008-09-10 16:17:04

i wouldnt miss you

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

ShowerThoughts

2008-09-10 16:33:32

From: jakeyboy29
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

2008-09-11 04:05:53

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

2008-09-11 09:41:45

[QUOTE=Dan's The Man;463571]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 [i]WinINet[/i] to your uses (not sure if that's the one, but :rolleyes:).
No. TcpClient and TcpSever ;d.

Waddo

2008-09-11 11:47:21

the tuts say server socket and client socket so il try the tcp ones
he tuts dont wokr =]

Freddy1990

2008-09-12 11:37:15

You can keep it easy and use the indy components, they have good tcp support

Waddo

2008-09-12 16:28:07

you wouldnt be able to find me a good tut that works for delphi 2007 would you ive looked everywhere they never work

mastaraymond

2008-09-12 18:47:33

It's because delphi 2007 uses Indy 10, where almost everything has changed :).

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

Daniel

2008-09-12 19:50:11

From: mastaraymond
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

2008-09-13 05:11:01

[QUOTE=Dan's The Man;464399]On the other bright side, Indy 10 has better features than before :)[/QUOTE]
I'm not quite sure about that. Old indy 9 does everything it does for me :).
Indy 10 just has extended functions, I guess ^_^.