sk.robotics.robot classes

function robot_server

^ 
Start the robot server - listen for incoming TCP/IP connections from other remote robot objects.

Remote robot objects can connect to this robot object using the robot_connect call and specifying the IP address of the computer that issued robot_server() call. This robot object needs to be connected to a local port or to another remote robot object. To change the network port number where the server listens, call the robot_portnumber function first.

Source:
robotdll/robotdll.h:801
Author:
Version:
latest version
Params:
id robot object handle
state use "on" to turn the server on, and "off" to turn the server off
Returns:
if the server could be started or stopped successfully, the function returns 1
See Also:
robot_connect, robot_portnumber, robot_userfile
Code:
public ROBOTDLL_API short robot_server ( short id ,
const char * state )

(c) FMFI UK Bratislava, robotika.sk
Dokumentácia vygenerovaná pomocou ccdoc