Raised This Month: $51 Target: $400
 12% 

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 01-29-2015 , 03:54   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #491

I haven't noticed any problems with socket on my servers, as far as handles being open.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 01-29-2015 , 12:56   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #492

After a while it failed when creating allot of connection, it failed to inialise new socket, I am unable to reuse the old one when connection close and yes I close my handle and there is no memory leak.
Mathias. is offline
darkid
Member
Join Date: Sep 2014
Old 02-02-2015 , 20:14   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #493

Quote:
Originally Posted by WildCard65 View Post
You trying to do http stuff? If so, try steamworks.
Steamworks cannot do PUT or DELETE requests, two things I would rather like. Does Socket support both of these?
darkid is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-02-2015 , 20:15   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #494

Quote:
Originally Posted by darkid View Post
Does Socket support both of these?
Socket doesn't "support" any HTTP requests, it's a low level socket library.
__________________
asherkin is offline
darkid
Member
Join Date: Sep 2014
Old 02-03-2015 , 10:00   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #495

Quote:
Originally Posted by asherkin View Post
Socket doesn't "support" any HTTP requests, it's a low level socket library.
I don't have the right terminology, but I've seen examples of people using sockets to do HTTP requests, and was wondering how extensive the plugin is.
darkid is offline
Mathias.
Veteran Member
Join Date: Aug 2010
Location: Canada is my city
Old 02-03-2015 , 11:07   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #496

Quote:
Originally Posted by darkid View Post
I don't have the right terminology, but I've seen examples of people using sockets to do HTTP requests, and was wondering how extensive the plugin is.
It because you have to create the protocol (not that http will be hard to do), sockets are low level networking, you can follow ftp/html or pretty much any internet protocol and communicate with it. I will recommend you steamwork, from what we told me, it a wrapper of steamwork API (valve api) and offer a http protocol which is super useful for web APIs. I used socket for a long time and had a couple of issues which one of them is the host limit in char and source code is down so don't expect any updates or maintenance. Apparently there is a new official release of socket for 1.7/1.8 that will be release sooner or later (and I can't wait for it)

Last edited by Mathias.; 02-03-2015 at 11:11.
Mathias. is offline
darkid
Member
Join Date: Sep 2014
Old 02-03-2015 , 12:23   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #497

Steamworks does not support PUT nor DELETE requests, as I said initially. Limits on numbers of sockets is not a problem, unless that limit takes effect at below around 16 sockets.
darkid is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 02-03-2015 , 17:35   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #498

Quote:
Originally Posted by darkid View Post
Steamworks does not support PUT nor DELETE requests, as I said initially. Limits on numbers of sockets is not a problem, unless that limit takes effect at below around 16 sockets.
There have always been stability issues with Sockets. Are you sure you need PUT and DELETE? Data is usually POST.
KyleS is offline
darkid
Member
Join Date: Sep 2014
Old 02-03-2015 , 23:11   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #499

http://wiki.apache.org/couchdb/HTTP_Document_API#PUT
darkid is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 02-03-2015 , 23:18   Re: [EXTENSION] Socket (3.0.1)
Reply With Quote #500

Quote:
Originally Posted by darkid View Post
And as you can see it supports POST as an alternative (as a huge number of HTTP clients / proxies don't support PUT or DELETE requests).
__________________
asherkin is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode