Networking and special characters.
| From: | MailAc - bantha.co.uk | Date: | Wed, 05 Nov 2003 16:55:29 +0000 |
| Subject: | Networking and special characters. | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4081@lists.php.net to get a copy of this message | ||
Hi All,
I'm a bit of newbie when it comes to PHP-GTK but bear with me. I am also using windoze.
I've been writing my first ap which is based on the card game: black jack.
It's all been coming together quite well. But I've got a couple of areas that I'm
stuck on.
1) I don't know how to display the diamond/club/heart/spade characters. I've tried using
chr() to no avail. If I bring up the character map there are definitely legit characters. But I
cannot access them.
2) I would like to introduce some kind of network play. What is the best/ easiest protocol to use
tcp/ip or udp? And how do I go about it? I have tried looking up some tutorials/examples to no
avail. If anyone could point me in the right direction I'd very grateful.
Thanks,
Adam