Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MickeyKnox

Pages: 1 2 3 [4]
46
Network / Using OnSend and OnReceive
« on: April 19, 2011, 03:37:27 pm »
I would like to use the SFML Packets, but not the SFML Sockets.
To do this, i thought i could just use the OnSend and OnReceive
methods, in order to feed the packet data to my network library
and vice versa.

However, those methods are private and i can't just call them.
I don't really understand what is the purpose of them being
private.

I guess i could just alter the SFML sourcecode to my needs, but
i would prefer not to do that.

Is there an more elegant approach?

Pages: 1 2 3 [4]