Raised This Month: $ Target: $400
 0% 

AMXX sockets


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
amxnewbie
Junior Member
Join Date: Sep 2007
Old 10-07-2007 , 10:30   AMXX sockets
Reply With Quote #1

I used SQLX for some db query and it is good. However for some security reason, I have to change to sockets. A separate php page will handle the db query.

SQLX is preferred because of the ThreadQuery. If I use socket, is there any way similar to SQLX, asynchronously receive and process the data?

Currently I can only find a way that uses a loop of socket_change. There is possible data loss if the buffer is overwritten, right? Do we have anyway to use socket in the same way as SQLX ThreadQuery?

Thanks.
amxnewbie is offline
amxnewbie
Junior Member
Join Date: Sep 2007
Old 10-07-2007 , 15:18   Re: AMXX sockets
Reply With Quote #2

Any good idea on this? Thanks.
amxnewbie is offline
BDJoe
New Member
Join Date: Jun 2007
Old 01-25-2009 , 07:35   Re: AMXX sockets
Reply With Quote #3

Hello there! I have similar problem. Need to change the socket path. Can some1 explain me why it search in /tmp/mysql.sock? And is it possible this path to be registered as cvar somewhere? Thanks!
BDJoe is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-25-2009 , 19:13   Re: AMXX sockets
Reply With Quote #4

Quote:
Originally Posted by BDJoe View Post
Hello there! I have similar problem. Need to change the socket path. Can some1 explain me why it search in /tmp/mysql.sock? And is it possible this path to be registered as cvar somewhere? Thanks!
Use 127.0.0.1 or create a symlink for it
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou 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 16:11.


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