Re: Module: Sockets_hz ( listenning + nonblocking ) ... working :)
What's wrong with tasks ? They'r needed for TCP connection and hackziner is a bit busy until september or something like that.
|
Re: Module: Sockets_hz ( listenning + nonblocking ) ... working :)
A folk remembered me that I modified this module for use in a plugin of mine. The difference is that since socket_open does one operation in blocking mode it still can hang the server. So, this version brings socket_open_non_blocking so all the operations can be done in non blocking mode. Source, win and linux version in the zip file here http://forums.alliedmods.net/showthread.php?t=99516
(Confirmed by hackziner) |
Re: Module: Sockets_hz ( listenning + nonblocking ) ... working :)
Quote:
PHP Code:
|
Re: Module: Sockets_hz ( listenning + nonblocking ) ... working :)
Any want a update of this?? I am working and I have time to add things if someone need it.
like a hacer to get host name. and stuff like that. PM me or write me here!! Good Bye!! |
Re: Module: Sockets_hz ( listenning + nonblocking ) ... working :)
Quote:
Code:
socket_listenfw(szAddress, iPort, SOCKET_TCP, iError, 'fwFunction'); Quote:
Quote:
Code:
I changed around your example, here's the code (I have no idea if this works by the way. but it does compile, so that's a plus). Code:
|
Re: Module: Sockets_hz ( listenning + nonblocking ) ... working :)
Quote:
The function decribed by Exolent[jNr] would be perfect. |
Re: Module: Sockets_hz ( listenning + nonblocking ) ... working :)
Quote:
|
All times are GMT -4. The time now is 14:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.