University of Bremen

Manual


Application Programming Interface via Sockets

This page covers new features and modifications in version 3.0, compared to the previous release V2.1.

  • Socket Communication
    An arbitrary application program can connect to the API in order to control all features of uDraw(Graph) remotely. Pipes had to be used in previous releases to establish this connection. Since version 3.0, API communication can also be handled with TCP/IP sockets.
  • uDraw(Graph) as a TCP/IP Server
    With the socket feature, it is now possible to start uDraw(Graph) and the application program on different computers, even in different networks or sites. This enables interesting new capabilities for application developers. When uDraw(Graph) is started with option -server, it will listen on socket port 2542 for clients that want to connect to the API. Port 2542 is exclusively registered for this purpose by IANA, but you can use any other port, too. Details about socket communication are described in the API documentation.

Next: New API Commands and Features.