2 registered members (AndrewAMD, ChrstphFr),
941
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: OSC
[Re: MMike]
#180573
02/01/08 21:52
02/01/08 21:52
|
Joined: Jun 2001
Posts: 1,004 Dossenbach
nfs42
Serious User
|
Serious User
Joined: Jun 2001
Posts: 1,004
Dossenbach
|
here is a small console app to test your sending app
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: MMike]
#180575
02/01/08 22:57
02/01/08 22:57
|
Joined: Jun 2001
Posts: 1,004 Dossenbach
nfs42
Serious User
|
Serious User
Joined: Jun 2001
Posts: 1,004
Dossenbach
|
works for me, with gstnet=udp based Quote:
Ready to receive on port 2300 Received 48 bytes from: 192.168.178.24:2780 ) Received 48 bytes from: 192.168.178.24:2780 ) Received 48 bytes from: 192.168.178.24:2780 )
run with: server.exe 3000
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]
#180576
02/01/08 23:10
02/01/08 23:10
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
hum changed to server 3000, didn't know i could use the 3000 command.. but even though it won't work. The Ip is not my Ip! its a runtime created ip server.. With your appl, i can't use a ip tag like the one you told me before to change port?
or ..maybe the messages i recieving aren't UDp ... ~but knowing..that the application is sending OSC messages to a java application that then sends the same message to a virtual created server on port 3000.. and The messages recieved from the java app, are from port 3333..
is there anything i could try to intercept the messages at such 3000 port?
Last edited by MMike; 02/01/08 23:13.
|
|
|
Re: OSC
[Re: MMike]
#180578
02/01/08 23:37
02/01/08 23:37
|
Joined: Jun 2001
Posts: 1,004 Dossenbach
nfs42
Serious User
|
Serious User
Joined: Jun 2001
Posts: 1,004
Dossenbach
|
the app is a udp server listening on the defined port on the actual machine that's the lan ip of my machine ! ip server, you mean a dns server ? you should know what protocol is used ;-) weher is your app running ? on the same machine as your java app, can you config the java app?
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]
#180579
02/01/08 23:52
02/01/08 23:52
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
ok went testing with a different program... Your appl works fine when i send text to the UDP. What is easier to implement in Gstudio TCP or UDP? The final iam is read a string ( message) from a USp or TCP message "emitter"
Last edited by MMike; 02/02/08 04:11.
|
|
|
Re: OSC
[Re: MMike]
#180580
02/02/08 00:01
02/02/08 00:01
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
Can you write a simple gs c-script code that allow me to read what messages are being sending to that a port.. can be 2300 on a local machine?
Last edited by MMike; 02/02/08 04:12.
|
|
|
Re: OSC
[Re: MMike]
#180581
02/02/08 10:02
02/02/08 10:02
|
Joined: Jun 2001
Posts: 1,004 Dossenbach
nfs42
Serious User
|
Serious User
Joined: Jun 2001
Posts: 1,004
Dossenbach
|
udp/tcp is socket based, so no problem with win32. udp is unreliable, but on sender/listener on the same machine should'nt give any problems. i'll change this code for use as a 3DGS-Plugin.
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]
#180582
02/02/08 14:30
02/02/08 14:30
|
Joined: Jul 2004
Posts: 1,710
MMike
OP
Serious User
|
OP
Serious User
Joined: Jul 2004
Posts: 1,710
|
OK i tested my appl with your console using the UDP as sending type, and it works.. it says.. recieved 200 bytes from: 127.0.0.1:51594 #bundle
Ahum.. that bundle thing i can't do nothing with that :S
but if i use the java program with the my first program, this java one will convert the message recieved from port 3333 (UDP) to TCP and send it to localhost port 3000.. and a string will apear with "xml code" argumentss and stuff that i can then use
But for the best, it would be nice to add a select port and select ip, and select method connection funcionalilty
Last edited by MMike; 02/02/08 14:37.
|
|
|
|