SA-MP Forums Archive
[Plugin] Socket plugin (v0.2b released) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Plugin Development (https://sampforum.blast.hk/forumdisplay.php?fid=18)
+--- Thread: [Plugin] Socket plugin (v0.2b released) (/showthread.php?tid=333934)

Pages: 1 2 3 4 5 6 7 8 9 10


Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - Jeroen52 - 22.12.2012

Quote:
Originally Posted by zgintasz
Посмотреть сообщение
Amazing work, you should continue working on it if you have some time. It's probably one of the best sa-mp plugin. Thanks.
I agree, people can make crazy contraptions with this plugin.


Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - zgintasz - 24.12.2012

Hey, will there be a big load on server if TCP socket server would receive ~100 sent data from every player every second? For example there is 50 players and everyone sends a data every 10ms, so server would receive data 5000 times every second.


Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - zgintasz - 27.12.2012

is it bug or something wrong? I start TCP socket server with nobody connected and I get strange IP adresses! From where did they come from if nobody is connected to my socket server? Shouldn't it be NO_IP_RETURN(0.0.0.0)? socket_remote_client_connected returns that client isn't connected, so I don't understand where are these IPs from.
Quote:

[20:37:24] ip: 116.32.53.53
[20:37:24] ip: 184.248.24.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0
[20:37:24] ip: 65.27.71.0

here is the source code:
Код:
	csp_socket_server = socket_create(TCP);
	if(is_socket_valid(csp_socket_server))
	{
		socket_set_max_connections(csp_socket_server, MAX_CONNECTIONS);
		socket_listen(csp_socket_server, 5568);
		new ip[16];
		for(new i; i < MAX_CONNECTIONS; i++)
		{
			get_remote_client_ip(csp_socket_server, i, ip);
			printf("ip: %s", ip);
		}
		return true;
	}
	else return false;



Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - BJIADOKC - 09.01.2013

Bump, we still waiting for new version


Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - Yiin - 12.01.2013

links doesnt work..


Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - BJIADOKC - 12.01.2013

I can provide link to .dll and source code


Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - Yiin - 12.01.2013

Quote:
Originally Posted by BJIADOKC
Посмотреть сообщение
I can provide link to .dll and source code
so what are you waiting for?


Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - Jeroen52 - 12.01.2013

Quote:
Originally Posted by Yiin
View Post
so what are you waiting for?
He bent.

By the way, the links do work.


Re: Socket plugin (TCP/UDP) v0.1b (24/06/12) - DartakousLien - 13.01.2013

Nice work. I use


Re: Socket plugin (SSL support u/c) - Kyle - 26.02.2013

Quote:
Originally Posted by Stewie`
Посмотреть сообщение
You do realise you can do it on your own.
Yes I know.

But this should be something we all benefit from, so maybe he should make this a ******code just like the MySQL so people can contribute.


Re: Socket plugin (SSL support u/c) - VIRUXE - 26.02.2013

Yes, some sort of serialization would be nice.


Re: Socket plugin (SSL support u/c) - Mr.GeEk - 26.02.2013

its nice!!


Re: Socket plugin (SSL support u/c) - [FoD]Kanii - 09.03.2013

Can someone pls reupload it
that would be great


Re: Socket plugin (SSL support u/c) - CROSS_Hunter - 10.03.2013

needs re-upload


AW: Socket plugin (SSL support u/c) - svenron - 10.03.2013

Can someone please reupload this genius plugin?
I really need it urgent.....


Re: AW: Socket plugin (SSL support u/c) - Jeroen52 - 10.03.2013

Quote:
Originally Posted by svenron
Посмотреть сообщение
Can someone please reupload this genius plugin?
I really need it urgent.....
I will upload a quick mirror, but it is not complete.


Re: Socket plugin (SSL support u/c) - TheArcher - 10.03.2013

This plugin was created almost one year ago, and still without SSL support


Re: Socket plugin (SSL support u/c) - Jeroen52 - 10.03.2013

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
This plugin was created almost one year ago, and still without SSL support
The SSL Support is under construction for 2 months.


Re: Socket plugin (SSL support u/c) - [FoD]Kanii - 10.03.2013

Jeroen do you have the .so file?

pls say yes X=)


Re: Socket plugin (SSL support u/c) - Jeroen52 - 10.03.2013

This is a mirror because the official download is down.
This may not be up to date and does not contain everything.

This contains the include, the dll and so.
https://sona-gaming.com/owncloud/pub...4cdd454a82264c
This is NOT official!