This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[EXTENSION] Sockets (2.0.0)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sskillz
Member
Join Date: Apr 2005
Old 02-23-2008 , 08:39   Re: [EXTENSION] Sockets (2.0.0)
Reply With Quote #1

you work is much appreciated.
Where is the source for version 2?

If that is the source for latest version I found a lot of errors in the code.
Should I list them?

Last edited by sskillz; 02-23-2008 at 08:51.
sskillz is offline
l0gen
Member
Join Date: Apr 2006
Location: The Netherlands
Old 02-24-2008 , 11:38   Re: [EXTENSION] Sockets (2.0.0)
Reply With Quote #2

Great!

Any news regarding the linux version?
__________________
l0gen is offline
lamdacore
Member
Join Date: Aug 2005
Old 02-25-2008 , 06:02   Re: [EXTENSION] Sockets (2.0.0)
Reply With Quote #3

Quote:
Originally Posted by l0gen View Post
Great!

Any news regarding the linux version?
Yeah I want the linux version, too >_<
I want to use the IRC Relay, but without a linux version of this extension it not possible. I hope this will be available soon.
lamdacore is offline
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 02-26-2008 , 19:34   Re: [EXTENSION] Sockets (2.0.0)
Reply With Quote #4

Quote:
Originally Posted by lamdacore View Post
Yeah I want the linux version, too >_<
I want to use the IRC Relay, but without a linux version of this extension it not possible. I hope this will be available soon.
I'm gonna be getting a server soon... And it's going to run on Linux... Everyone wants the Linux version...
__________________
recon0 is offline
sskillz
Member
Join Date: Apr 2005
Old 05-06-2007 , 01:21   Re: [EXTENSION] Sockets
Reply With Quote #5

I have a plugin waiting just for this ^_^
good work!
sskillz is offline
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 05-16-2007 , 05:21   Re: [EXTENSION] Sockets
Reply With Quote #6

New update, see first post

1.0.2.0
  • Fixed lots of null pointer crashes ><
  • Fixed the native name in the include for SocketClose
  • Fixed functag
  • Compiled for linux
Olly is offline
Send a message via MSN to Olly
Olly
Senior Member
Join Date: Mar 2007
Location: UK
Old 05-06-2007 , 21:29   Re: [EXTENSION] Sockets
Reply With Quote #7

Major update, see First Post

Olly is offline
Send a message via MSN to Olly
sskillz
Member
Join Date: Apr 2005
Old 05-09-2007 , 13:58   Re: [EXTENSION] Sockets
Reply With Quote #8

Good job!
Looks promising, I'll try as soon as my srcds will stop downloading

Just one thing I think is missing is this:
Code:
/**
 * Defines the callback function when a the specified socket closes
 *
 * @param    socket                The id (handle) of the socket to set the callback for.
 * @param    function            The function to use as callback.
 */
native SetSocketCloseCallback(socket, function);
And btw, now if the socket is not connected or gets disconnected, is the handle changes to undefined ? or not > 0 ?

Last edited by sskillz; 05-09-2007 at 14:00.
sskillz is offline
sslice
Senior Member
Join Date: Feb 2005
Location: Texas, USA
Old 05-09-2007 , 16:20   Re: [EXTENSION] Sockets
Reply With Quote #9

Very nice.

I would like to see the connect function to be non-blocking with a callback for it though.. for it to be truly non-blocking. Also, like sskillz said, a callback for disconnection should exist, unless the error callback was meant to cover that.

Note: Should the Function: tag be used?


Edit: A good reference would be the asyncore module in Python.
__________________

Last edited by sslice; 05-09-2007 at 17:28. Reason: asyncore
sslice is offline
BAILOPAN
Join Date: Jan 2004
Old 05-09-2007 , 18:03   Re: [EXTENSION] Sockets
Reply With Quote #10

o_O yes definitely use the function tag, or even better, use functag.
__________________
egg
BAILOPAN 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 03:01.


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