No subject
Thu Jul 30 09:02:43 CEST 2009
* Sends a packaged message including a string using the connection.
*
* The packet has to define a 8-byte-aligned, 8-char string at the end
* of the packet. When the packet is sent the whole string is appended
* to the packet, so that the receiver has to do nothing special to
* receive and use the full packet.
Have a look at the NodeConfigInitPacket send by the server, and processed by the client.
I know this is not very programmer-friendly, these parts of the eq::net API are not yet finalized and documented.
Cheers,
Stefan.
--
View this message in context: http://n2.nabble.com/Sending-packets-with-string-tp4557831p4560423.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
------=_Part_33873_5046472.1265971404443
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<br>On 11. Feb 2010, at 23:23, davidotcom [via Software] wrote:
<br><br>> Hi again,
<br>>
<br>> I've been trying to send extra data into the packet, but I'm not sure how to grab the "extra" data from the other end once I call:
<br>>
<br>> Session::send (NodePtr node, SessionPacket &packet, const std::string &text)
<br>>
<br>> I'm able to grab everything inside the packet, but I have no idea where the other bit went and I can't find any documentation regarding this.
<br>>
<br>> Any thoughts?
<br><br>From connection.h:
<br><br> * Sends a packaged message including a string using the connection.
<br> *
<br> * The packet has to define a 8-byte-aligned, 8-char string at the end
<br> * of the packet. When the packet is sent the whole string is appended
<br> * to the packet, so that the receiver has to do nothing special to
<br> * receive and use the full packet.
<br><br>Have a look at the NodeConfigInitPacket send by the server, and processed by the client.
<br><br>I know this is not very programmer-friendly, these parts of the eq::net API are not yet finalized and documented.
<br><br><br>Cheers,
<br><br>Stefan.
<br><br>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/Sending-packets-with-string-tp4557831p4560423.html">Re: Sending packets with string?</a><br>
Sent from the <a href="http://n2.nabble.com/Equalizer-Parallel-Rendering-f7405.html">Equalizer - Parallel Rendering mailing list archive</a> at Nabble.com.<br>
------=_Part_33873_5046472.1265971404443--
More information about the eq-dev
mailing list