[ENet-discuss] setup.py for python wrappers.
Ling Lo
enet-discuss@lists.puremagic.com
Sun, 9 Feb 2003 18:44:00 -0000
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01C2D06B.366D8360
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
enet-discuss-admin@puremagic.com wrote:
> It compiles ok, but doesn't seem to work.
>
> With this error.
>
> Traceback (most recent call last):
> File "Server.py", line 5, in ?
> result, event = host.service(60000)
> AttributeError: 'NoneType' object has no attribute
> 'service'
That implies the host was not created in the first place. Something wrong
with enet.host() ? Um.
I've made the test scripts ever so slightly informative. They're still not
exhaustive. However, I can say that I've written a small chatserver in
Python using ENet and it works fine. Unfortunately, I can't release it as a
test script since I wrote it as part of my own project (it uses pygame for
input and output and some GUI console I wrote).
--
| Ling Lo
_O_O_
------=_NextPart_000_0009_01C2D06B.366D8360
Content-Type: application/octet-stream;
name="test.zip"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="test.zip"
UEsDBBQAAgAIAAOVSS4HlEjZHQEAAPABAAAJAAAAQ2xpZW50LnB5ZVHLasMwELwb/A9zk5wKIYeW
tKE+GR8CpYe05FqMvUkEjmwkJdC/r2Q7TSCri3Z3ZvalT0NvPciQT5M0OfbOoxhdGf88F1i+YoFc
LZ8F3uZfliYDkQ3ICJJNbww1nnOWL1dShZczgRelVBboEWy18WALlB+b6vN7jXJiUAvfo+ubuhsr
R8o6UKN4mlhy584L0IWMv9ZyZC+6IZ6rKJ8m+95CQxvY2hxiOFunCYLpPRTeMYnMsTk+jlftQic/
26qsNrsKRTGVkf53oDt0tMfuj3Vov2Nza7KZfAG2pYb0hdr/VFv7+qZ2cocwBxu0OTA8wXnLdXZL
PxT6ItNGrIjMO1xYT1iEabkaMwJxE9P15L47uyOfLyRb7a7XGSF/UEsDBBQAAgAIADSVSS6p9rtD
/gAAAK8BAAAJAAAAU2VydmVyLnB5ZVHBboMwDL0j8Q++QSuKkqqjEionlsMu08QmrlMK3oiWBhQy
pv39YkDqJJyLn2W/9+yo29BbB2jQhUEYdP3ooJhhSnkcR/x4Tpl/PErggTG2S4BnPs1gD5wdTx6e
1nQXBoNVxkG0h1dR1aLKobQoHbYgTQtajQ6NMp/QG5h1iTD3xKQVBj+d0gg8DwPwYXH81i4BnNCQ
KepJR7STajDOGFlZGtUHMLis/evwWp8XEbV4fnuvRCmeagFFsTCm7nfAf90UG/cVNqgmb7/spCGj
y2jjkUGdQPQonbzXW48WRtRe/cBJbeNro/Ji+6vGGyzL0X1o1+g+cfVH/KL/+QNQSwECFAAUAAIA
CAADlUkuB5RI2R0BAADwAQAACQAAAAAAAAABACAAtoEAAAAAQ2xpZW50LnB5UEsBAhQAFAACAAgA
NJVJLqn2u0P+AAAArwEAAAkAAAAAAAAAAQAgALaBRAEAAFNlcnZlci5weVBLBQYAAAAAAgACAG4A
AABpAgAAAAA=
------=_NextPart_000_0009_01C2D06B.366D8360--