Mirage Source

Free ORPG making software.
It is currently Fri Mar 29, 2024 6:18 am

All times are UTC




Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: Socket Handling
PostPosted: Sat Aug 08, 2009 10:01 pm 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
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.

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sat Aug 08, 2009 10:07 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
I just use WinSock...

IOCP sucks.

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

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sat Aug 08, 2009 10:33 pm 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
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%...

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sat Aug 08, 2009 11:09 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sat Aug 08, 2009 11:20 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
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.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sun Aug 09, 2009 1:05 am 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
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.

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sun Aug 09, 2009 1:24 am 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
Would you have that same limit if you switched from a control array directly to the api instead?


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sun Aug 09, 2009 2:54 am 
Offline
Persistant Poster
User avatar

Joined: Thu Mar 29, 2007 10:30 pm
Posts: 1510
Location: Virginia, USA
Google Talk: hpmccloud@gmail.com
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.

_________________
Nean wrote:
Yes harold. Give it to me.

Image
Image


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sun Aug 09, 2009 3:06 am 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
ftw there is no limit.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sun Aug 09, 2009 1:07 pm 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
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.


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sun Aug 09, 2009 1:48 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sun Aug 09, 2009 8:02 pm 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
Tnx, I'll check.

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Thu Aug 13, 2009 1:57 am 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
grimsk8ter11 wrote:
anyways, SocketWrench, check it out.

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

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Fri Aug 14, 2009 7:26 pm 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
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?


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Fri Aug 14, 2009 8:27 pm 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
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.

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: Socket Handling
PostPosted: Sat Aug 15, 2009 4:40 am 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
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?

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group