Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, alibaba, TipmyPip), 1,144 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
sending a bineric file like a jpg file over network #413623
12/16/12 00:09
12/16/12 00:09
Joined: Jul 2011
Posts: 69
P
pjotr987 Offline OP
Junior Member
pjotr987  Offline OP
Junior Member
P

Joined: Jul 2011
Posts: 69
hi guys,
can someone tell me, wheather its possible to send a bineric file over the 3DGS? if yes, then how to make this?

thanks in advance

Re: sending a bineric file like a jpg file over network [Re: pjotr987] #413624
12/16/12 00:25
12/16/12 00:25
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
You can send arbitray data from a client to a server or vice versa with the
send_data_to instruction.

http://www.conitec.net/beta/send_data.htm

After receiving the data you just have to write it to a file.


Always learn from history, to be sure you make the same mistakes again...
Re: sending a bineric file like a jpg file over network [Re: Uhrwerk] #413626
12/16/12 00:33
12/16/12 00:33
Joined: Jul 2011
Posts: 69
P
pjotr987 Offline OP
Junior Member
pjotr987  Offline OP
Junior Member
P

Joined: Jul 2011
Posts: 69
thanks for reply.
this function i saw and thiought its the right thing, but my problem is the big HOW. obviously i have to read the file, then send its name and then the content. but how to get this done?
and then how to write the buffer it on the other side in a file?

would be thankful for any code piece, that can give me an idea how to do it.

thanks

Re: sending a bineric file like a jpg file over network [Re: pjotr987] #413636
12/16/12 01:09
12/16/12 01:09
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
There is even an example on the manual page I linked to in my post above. Please try to achieve it for yourself. I'll try to help you out on any open questions and difficulties you might experience.


Always learn from history, to be sure you make the same mistakes again...
Re: sending a bineric file like a jpg file over network [Re: Uhrwerk] #413665
12/16/12 10:35
12/16/12 10:35
Joined: Jul 2011
Posts: 69
P
pjotr987 Offline OP
Junior Member
pjotr987  Offline OP
Junior Member
P

Joined: Jul 2011
Posts: 69
Thanks Uhrwerk for ur kind offer. i think today i ll try to work on it.

have a nice day

Last edited by pjotr987; 12/16/12 10:35.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1