Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Server IP address

For general discussion related FlowStone

Server IP address

Postby KimSteff » Sat Jan 19, 2013 4:03 pm

How can I use the builtin server function if i like to deside the used IP-address
I have ude the Server/Client modules and it works just fine. BUT. If the computer already are using a network this networks IP address will allways be used by the Server module. This is a problem if your Server/Client applications are running on the same computer and you are using the network as a mean to pass data from one aplication to another !
Hope you understand the problem... :-)
KimSteff
 
Posts: 31
Joined: Tue Dec 20, 2011 9:50 pm

Re: Server IP address

Postby chackl » Sat Jan 19, 2013 11:05 pm

Well - you can not get the IP direct by the Server.

I have no example here at the Moment but there is a way that works.

On IP Internet:
You'll Need a php webserver
so first let your Client after load get the ip by a php script with http-post. there are lots of examples how dis is done in php on Internet ;)

On Network:
Open a Server module with random port, save the IP string and Close the Server again. Then you have the Network IP

Then after conecting to the Server the Client Needs to send the IP through the data to the Server - and the Server hase to save it.
If you want to specify the incoming DATA to a Client you have to send allways the IP in the same data message.

Allready i see no possibility to send data Bach to one specific Client. You have to include the IP of the Client to the Server message. Then all Clients filter the IP and only the Client with same IP ececutes the Data string.

Regards
100% accuracy is the guarantee to your success. The value alters if you combine it with musical creativity.
User avatar
chackl
 
Posts: 233
Joined: Tue Aug 17, 2010 8:46 pm
Location: Austria / Salzburg


Return to General

Who is online

Users browsing this forum: Google [Bot] and 92 guests