![]() |
Socket Handling - 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: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51) +----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44) +----- Thread: Socket Handling (/showthread.php?tid=3033) |
Socket Handling - Dragoons Master - 08-08-2009 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. Re: Socket Handling - GIAKEN - 08-08-2009 I just use WinSock... IOCP sucks. I looked into Sox once before I think? Didn't really try anything with it. Re: Socket Handling - Dragoons Master - 08-08-2009 GIAKEN Wrote:I just use WinSock...I'm using Sox right now, but it's not working 100%... Re: Socket Handling - grimsk8ter11 - 08-08-2009 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. Re: Socket Handling - GIAKEN - 08-08-2009 GOREsock seems nice. ![]() 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. Re: Socket Handling - Dragoons Master - 09-08-2009 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. Re: Socket Handling - Matt - 09-08-2009 Would you have that same limit if you switched from a control array directly to the api instead? Re: Socket Handling - GIAKEN - 09-08-2009 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. Re: Socket Handling - grimsk8ter11 - 09-08-2009 ftw there is no limit. Re: Socket Handling - Matt - 09-08-2009 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. Re: Socket Handling - grimsk8ter11 - 09-08-2009 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. Re: Socket Handling - Dragoons Master - 09-08-2009 Tnx, I'll check. Re: Socket Handling - Dragoons Master - 13-08-2009 grimsk8ter11 Wrote:anyways, SocketWrench, check it out.Just tested SocketWrench, looks great, but it's paid so... well... can't afford that. Re: Socket Handling - Matt - 14-08-2009 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? Re: Socket Handling - Dragoons Master - 14-08-2009 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. Re: Socket Handling - Dragoons Master - 15-08-2009 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? |