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 - tobix10

Pages: [1]
1
Network / Using Packet with SocketTCP
« on: May 16, 2010, 08:17:59 pm »
Ok, thx a lot 4 all.

2
Network / Using Packet with SocketTCP
« on: May 16, 2010, 07:46:08 pm »
No.
Now it is working :), but I'll be getting text with quoted-printable or base64 encoding. Does sfml support encoding them ?

Sorry for bothering you

3
Network / Using Packet with SocketTCP
« on: May 16, 2010, 07:09:30 pm »
Unfortunately I got linker errors when using first code.
I added sfml-system-d.lib and sfml-network-d.lib to project options.
Error is caused by UTF8ToUTF32.

Quote

unresolved external symbol "private: static unsigned int const * const sf::Unicode::UTF8Offsets" (?UTF8Offsets@Unicode@sf@@0QBIB)
unresolved external symbol "private: static int const * const sf::Unicode::UTF8TrailingBytes" (?UTF8TrailingBytes@Unicode@sf@@0QBHB)

4
Network / Using Packet with SocketTCP
« on: May 15, 2010, 08:15:16 pm »
Thank you, but
Can I convert UTF8 to ANSI using sf::Unicode ? Example please.

5
Network / Using Packet with SocketTCP
« on: May 15, 2010, 05:58:51 pm »
I would like to receive emails from POP3 server. SocketTCP's function Receive can only be used with char* argument and that works, but some fields in header and text are encoded(utf-8 etc). I've read that sf::Packet could get wstring data so I tried to used it, but I have a problem.

Receive function return sf::Socket::Disconnected and object of class Packet is empty, although myPendingPacket contains all data(with sequence '.\r\n' at the end). myPendingPacketSize is -1.
I used sockets in blocking mode.

Is it a good way to get data as wide characters? If yes, why SocketTCP doesn't fill Packet object ?

6
Window / Double buffering with OpenGL
« on: December 14, 2009, 09:42:43 pm »
Thx. :D

7
Window / Double buffering with OpenGL
« on: December 14, 2009, 07:51:00 pm »
Is SFML by default use double buffering with code using OpenGL? (I am displaying graphic in sf::Window).


What is PreserveOpenGLStates(true) doing ?

Pages: [1]
anything