171 | | |
172 | | |
| 171 | === more realtime throughput testing (7/30) === |
| 172 | Using a tool called BWM-NG (Bandwidth Monitor NG): http://www.gropp.org/?id=projects&sub=bwm-ng |
| 173 | |
| 174 | the tool can output logs as a csv, which can be parsed with some more practice-Ruby code. Hopefully will get Scruffy or something working so the data can be graphed. |
| 175 | |
| 176 | |
| 177 | === socket programming in Ruby (8/1) === |
| 178 | Some resources found: |
| 179 | |
| 180 | * IBM tutorial: https://www6.software.ibm.com/developerworks/education/l-rubysocks/l-rubysocks-a4.pdf |
| 181 | * TCP client/server (in C): http://devmentor.org/articles/network/Socket%20Programming.pdf |
| 182 | |
| 183 | having issues with trying it, getting this error: |
| 184 | {{{ |
| 185 | A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using |
| 186 | a sendto call) no address was supplied. - getpeername(2) (Errno::ENOTCONN) |
| 187 | }}} |
| 188 | |
| 189 | supposedly meaning I'm not getting the connection to happen right |
| 190 | |
| 191 | idea for !OpenFlow: use code from reference model to simulate a handshake, display on a webpage or something else, to get a sense of how to integrate things |