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

[EXTENSION] Socket (3.0.1)


Post New Thread Reply   
 
Thread Tools Display Modes
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 03-05-2008 , 16:55   Re: [EXTENSION] Socket (2.2.0)
Reply With Quote #11

I'll be really happy if I were able to IRCrelay on my Linux TF2 server.

I hope you get it sussed between you
__________________
Extreme_One is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 03-06-2008 , 02:57   Re: [EXTENSION] Socket (2.2.0)
Reply With Quote #12

The bug is already fixed and it seems to work so far, expect him to release soon
sfPlayer is offline
OziOn
Senior Member
Join Date: Jan 2008
Old 03-09-2008 , 07:02   Re: [EXTENSION] Socket (2.2.0)
Reply With Quote #13

Ehm, where do I put the files from the socket_src.zip file?
__________________

OziOn is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 03-09-2008 , 07:35   Re: [EXTENSION] Socket (2.2.0)
Reply With Quote #14

socket_src is the sourcecode archive, you only need socket.zip (windows&linux, ep1&ep2)
sfPlayer is offline
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 03-14-2008 , 11:11   Re: [EXTENSION] Socket (2.3.0)
Reply With Quote #15

Nice job fixing the receiving of binary data and other improvements

Im having some problems when it comes to connecting to hosts that refuse the connection tho; it causes a send or a recv error making the extension choke and unable to receive or send data at all. Even reloading the extension doesnt seem to help, and I have to restart the whole gameserver.

Also, when the host doesnt exist the extension keeps trying to connect to it for a few minutes before timing out, that might be a bit too long.
__________________
plop
p3tsin is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 03-14-2008 , 12:00   Re: [EXTENSION] Socket (2.3.0)
Reply With Quote #16

SocketSetOption(socket, SocketSendTimeout, 10000); should set the timeout for connecting to 10 seconds.

A socket error should not affect other sockets, but due to a special optimization a bug can cause all sockets to malfunction. Please tell me the values of errorType and errorNum in your SocketError callback, I'll look into it.

Last edited by sfPlayer; 03-14-2008 at 12:58.
sfPlayer is offline
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 03-14-2008 , 17:55   Re: [EXTENSION] Socket (2.3.0)
Reply With Quote #17

Here we go:
Code:
errorType 4 (Send error), errorNum 111
errorType 6 (Recv error), errorNum 111
__________________
plop
p3tsin is offline
sfPlayer
Senior Member
Join Date: Dec 2007
Location: Germany
Old 03-14-2008 , 18:19   Re: [EXTENSION] Socket (2.3.0)
Reply With Quote #18

I think I found the bug, please test if the attached version works.

Last edited by psychonic; 03-05-2011 at 23:36. Reason: removed attachment due to source code not being available
sfPlayer is offline
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 03-14-2008 , 18:36   Re: [EXTENSION] Socket (2.3.0)
Reply With Quote #19

Awesome, that did the job.
__________________
plop
p3tsin is offline
Davethegreat
Senior Member
Join Date: Nov 2007
Old 03-24-2008 , 14:49   Re: [EXTENSION] Socket (2.3.0)
Reply With Quote #20

would this version stop sourcebans (which requires v2.0) or no?
Davethegreat is offline
Send a message via AIM to Davethegreat
Reply


Thread Tools
Display Modes

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 11:31.


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