| Mirage Source http://miragesource.net/forums/ |
|
| IOCP http://miragesource.net/forums/viewtopic.php?f=201&t=3812 |
Page 1 of 1 |
| Author: | Ramsey [ Sun Jun 08, 2008 8:11 pm ] |
| Post subject: | IOCP |
viewtopic.php?f=69&t=895&st=0&sk=t&sd=a Quote: Function IsConnected(ByVal Index As Long) As Boolean IsConnected = False If Index = 0 Then Exit Function If GameServer Is Nothing Then Exit Function If Not GameServer.Sockets(Index).Socket Is Nothing Then IsConnected = True End If End Function Says: Object doesn't support this property or method. |
|
| Author: | Asrrin29 [ Sun Jun 08, 2008 8:35 pm ] |
| Post subject: | Re: IOCP |
do you have the dll verrigan provided with the tutorial? I don' think it works if you use the default IOCP dll, you have to use the one that verrigan modified. |
|
| Author: | Lea [ Sun Jun 08, 2008 9:10 pm ] |
| Post subject: | Re: IOCP |
I think Verrigan only increased the buffer size or something. It will/should work with the default one, I think. |
|
| Author: | Ramsey [ Mon Jun 09, 2008 2:24 am ] |
| Post subject: | Re: IOCP |
Well I thought of taking a new approach. viewtopic.php?f=69&t=1468 RTE 9 Code: Public Property Get Item(vntIndexKey As Variant) As clsSocket Set Item = mCol(vntIndexKey) End Property Highlights: Set Item = mCol(vntIndexKey) My MAX_PLAYERS is 500 and the vntIndexKey always stops at 491 and anything above that. If I set the max to 300 then it stops at 291. Wtf? Any suggestions? |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|