Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Ayumi, AndrewAMD, TedMar), 1,016 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
OSC #180563
01/28/08 23:08
01/28/08 23:08
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
hello

I have a appllication that is sending data packets to a specifyc ip AND port: 3333

Each line that is sending is like a string that contains intructions.

What i want to do it to make GStudio read and show me what string is recieving by that port with that Ip..

is this very hard to code?
I really need this.

Re: OSC [Re: MMike] #180564
01/28/08 23:12
01/28/08 23:12
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline
Serious User
PrenceOfDarkness  Offline
Serious User

Joined: Aug 2004
Posts: 1,305
New York
I'm gonna give it a wild guess and say you will need to write a plugin to link the two together. The level of difficulty would depend on your understanding of whatever language you use.


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: OSC [Re: PrenceOfDarkness] #180565
01/29/08 00:05
01/29/08 00:05
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
well the application send text sentence over and over, with values
And i want GS to read that string to i can work later with the values..

really need a plugin? i do little C++

Re: OSC [Re: MMike] #180566
01/29/08 00:58
01/29/08 00:58
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline
Serious User
PrenceOfDarkness  Offline
Serious User

Joined: Aug 2004
Posts: 1,305
New York
u can also save it to a file and import it that way but i imagin that will slow it down alot


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: OSC [Re: PrenceOfDarkness] #180567
01/29/08 20:51
01/29/08 20:51
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
But isn't this a UDP socket question? does gs work with UDP ports and TCP IP?..?

Re: OSC [Re: MMike] #180568
01/30/08 04:06
01/30/08 04:06
Joined: Aug 2004
Posts: 1,305
New York
PrenceOfDarkness Offline
Serious User
PrenceOfDarkness  Offline
Serious User

Joined: Aug 2004
Posts: 1,305
New York
The only way I know of going straight to your application would be a DLL. If you don't want to use a DLL the save the info to a file . I know it's a pain in the ass but that's what we all have to do


"There is no problem that can't be solved with time and determination." -me
prenceofdarkness for instant messages on AIM.

Looking for a model designer
PLEASE, SEND ME A PRIVATE MESSAGE OR EMAIL IF YOU'RE INTERESTED.
Re: OSC [Re: PrenceOfDarkness] #180569
02/01/08 17:32
02/01/08 17:32
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
ok thanks.. anyway saving is too slow for a realtime application

Re: OSC [Re: MMike] #180570
02/01/08 17:33
02/01/08 17:33
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
i want 3gs to connect to a server just that.... socket connection more specificaly

Re: OSC [Re: MMike] #180571
02/01/08 18:07
02/01/08 18:07
Joined: Jun 2001
Posts: 1,004
Dossenbach
N
nfs42 Offline
Serious User
nfs42  Offline
Serious User
N

Joined: Jun 2001
Posts: 1,004
Dossenbach
do you have any protocol defintion or a sample app to check ?


Andreas
GSTools - Home of
GSTScript 0.9.8: lua scripting for A6/7/8
GSTNet 0.7.9.20: network plugin for A6/7/8
GSTsqlite 1.3.7: sql database plugin for A6/7/8
3DGS Codebase: 57 snippets || 3DGS Downloads: 248 files
Re: OSC [Re: nfs42] #180572
02/01/08 19:56
02/01/08 19:56
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
Well i will explain me better:

I have a c++ program running. That program is sending socket packets as strings, like:

New point:5.2
New point:5.1
New point:5.6
New point:2.4

(...)
So it sends to a port (3000) ip: 127.0.0.1

Now.. i need Gs to read that messages.. and update a 3dSG string that will be the flow of messages from the server.

Page 1 of 3 1 2 3

Moderated by  HeelX, Spirit 

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