Previous: Tutorial: 1. Loading the ByteBlower API
Once the API's are loaded, we can continue with our next step: connecting to the ByteBlower Server.
To do this, we create a ByteBlower server Object. Once this object is created, we have a connection to our server.
Creating the ByteBlowerServer object is done through the ByteBlower API entry point, the ByteBlower object. The parameter after Server.Add can be the IP address of your ByteBlower server or even its FQDN.
The variable $bbServer
now holds our ByteBlowerServer object.
If you want, you can print out the description of this server object with following command.
Every ByteBlower object has a method Description.Get . This method will print out all information known about this object. This information will be printed in a hierachical way. So if you ask the description of a server, you will get the description of every ByteBlowerPort, which will print out the description of every Stream on that port... and so on.
Further reading: Tutorial: 3. Create our src-port and dst-port