Mirage Source
http://web.miragesource.net/forums/

Socket Handling
http://web.miragesource.net/forums/viewtopic.php?f=193&t=6115
Page 1 of 1

Author:  Dragoons Master [ Sat Aug 08, 2009 10:01 pm ]
Post subject:  Socket Handling

Well, I wanted to know what you guys use to handle your connections. MS4 is still using WinSocket even though it's using binary packets.

Author:  GIAKEN [ Sat Aug 08, 2009 10:07 pm ]
Post subject:  Re: Socket Handling

I just use WinSock...

IOCP sucks.

I looked into Sox once before I think? Didn't really try anything with it.

Author:  Dragoons Master [ Sat Aug 08, 2009 10:33 pm ]
Post subject:  Re: Socket Handling

GIAKEN wrote:
I just use WinSock...

IOCP sucks.

I looked into Sox once before I think? Didn't really try anything with it.

I'm using Sox right now, but it's not working 100%...

Author:  grimsk8ter11 [ Sat Aug 08, 2009 11:09 pm ]
Post subject:  Re: Socket Handling

WinSock is the only thing I have ever found to work right with VB6, but I have only tried three things. Winsock, SOX and IOCP.

IOCP doesn't support all windows systems and is not fully standard yet, and that makes it annoying. It also likes to act up with VB6 SOMETIMES, not always, but when it doesn't its nice - especially if you know your users are using win xp+

SOX doesn't always work correctly either. SocketWrench didnt seem to be bad though if you wanna check that out.

WinSock should be fine for most VB6 applications though.

Now in C++ I usually use DirectPlay, RakNet, SDL_net or something of the sorts. I have never seen if anythign could port to VB6 from that group. IMO RakNet is the best (get it with BOOST libraries). Oscar has a real fancy thing called RPC working, and it owns.

Author:  GIAKEN [ Sat Aug 08, 2009 11:20 pm ]
Post subject:  Re: Socket Handling

GOREsock seems nice. :D

IOCP always had memory problems when I worked on Hyrule Online's VNC.

The only thing you'd really need is Winsock. People's problems nowadays are always trying to upgrade. Just use Winsock properly and it's fine to have.

Author:  Dragoons Master [ Sun Aug 09, 2009 1:05 am ]
Post subject:  Re: Socket Handling

The only reason that is making me search for other thing is that VB6 with WinSocket does not support much. I'm not sure, but I remember someone saying 255 connections is the max you can have, not sure thou.
I was making my own API, based on Sox, but it's not done, I don't have much free time right now.

Author:  Matt [ Sun Aug 09, 2009 1:24 am ]
Post subject:  Re: Socket Handling

Would you have that same limit if you switched from a control array directly to the api instead?

Author:  GIAKEN [ Sun Aug 09, 2009 2:54 am ]
Post subject:  Re: Socket Handling

Matt wrote:
Would you have that same limit if you switched from a control array directly to the api instead?


That's what I was thinking of doing when I get back online more often.

Author:  grimsk8ter11 [ Sun Aug 09, 2009 3:06 am ]
Post subject:  Re: Socket Handling

ftw there is no limit.

Author:  Matt [ Sun Aug 09, 2009 1:07 pm ]
Post subject:  Re: Socket Handling

grimsk8ter11 wrote:
ftw there is no limit.


Do you have a different definition of FTW? Cause, "For The Win" doesn't fit in your statement. Lol.

Author:  grimsk8ter11 [ Sun Aug 09, 2009 1:48 pm ]
Post subject:  Re: Socket Handling

yes it does, i forgot a common splice sorry.

for the win, there is no limit.

its just a backwards sentence xD

anyways, SocketWrench, check it out.

Author:  Dragoons Master [ Sun Aug 09, 2009 8:02 pm ]
Post subject:  Re: Socket Handling

Tnx, I'll check.

Author:  Dragoons Master [ Thu Aug 13, 2009 1:57 am ]
Post subject:  Re: Socket Handling

grimsk8ter11 wrote:
anyways, SocketWrench, check it out.

Just tested SocketWrench, looks great, but it's paid so... well... can't afford that.

Author:  Matt [ Fri Aug 14, 2009 7:26 pm ]
Post subject:  Re: Socket Handling

Dragoons Master wrote:
grimsk8ter11 wrote:
anyways, SocketWrench, check it out.

Just tested SocketWrench, looks great, but it's paid so... well... can't afford that.


Pirate it?

Author:  Dragoons Master [ Fri Aug 14, 2009 8:27 pm ]
Post subject:  Re: Socket Handling

Hum, nah. Trying to keep things on a legal level.
I'm working right now with Sox. I thing I can make it work with out no problems but, well... let's see, hehe.

Author:  Dragoons Master [ Sat Aug 15, 2009 4:40 am ]
Post subject:  Re: Socket Handling

I've managed to make Sox work on a winxp32bits, but when I deployed at my windows server 2k8 32 bits it just didn't work... I'm going to change os to win server 2k8 r2, and there is only a 64bits version. On the Sox project I could not managed to compile for 64 bits. Any idea?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/