Mirage Source
Changing to IOCP - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Changing to IOCP (/showthread.php?tid=373)



Changing to IOCP - halla - 19-10-2006

Ok I have changed and added everything. I registered it and did everything asked. I go to compile and

Code:
Public  Sockets       ;   As col Sockets        ;          'The Socket Collection

Expected End of Statement

That didnt look right to me but I know nothing of IOCP so I dont know. Any help with what is wrong with this. Also need any additional information just let me know. Thanks.

Edit well I removed the ";"'s and the spaces and works ok I just wasnt sure with that... now

Code:
Private mvarSocket As JBSOCKETSERVERLib.ISocket 'The Socket Object.

User Defined Type not Defined


- Spodi - 19-10-2006

First one, yes, that is right. The error was because the syntax was completely wrong.

For the second one, you probably have to reference the "JBSOCKETSERVERLib" in your project.


- halla - 19-10-2006

Spodi Wrote:First one, yes, that is right. The error was because the syntax was completely wrong.

For the second one, you probably have to reference the "JBSOCKETSERVERLib" in your project.

Oh I was following the guide and it didnt mention of that at all.. I will see if I can find out how to do so.


- halla - 19-10-2006

Sorry wasnt thinking to add it to that.. I had it registered already though.

another edit... ok I didnt have that one part I said right but I do now and its loading fine. Should be good but if anything else will post. Thanks for the help guys.