Posts: 209
Threads: 19
Joined: Dec 2008
28.08.2010, 11:37
(
Последний раз редактировалось bpeterson; 28.08.2010 в 16:19.
)
Nice, it will allow users many things!
I'm currently making a RakNet plugin (similar to this)
Edit: RakNet & PAWN SDK incompatibility issues fixed
Also, windows link is down.
Good work StrickenKid! I remember testing this some months ago, lol.
Posts: 1,762
Threads: 36
Joined: Nov 2009
Reputation:
0
Good, but have a problem, Send sockets to other servers, that's good can share information, but they could attack other servers with a little ingenuity, you could make enemies crasher servers only send sockets indicating a timer.And its good for connect samp server with another program
Posts: 669
Threads: 15
Joined: Jul 2009
Reputation:
0
SA-MP uses UDP, and this is a TCP plugin. You could only send data to other servers using this plugin.
Great update, StrickenKid, although it seems that there is now another error - I keep getting WSA error 10054 when trying to send data multiple times, and there is actually a problem.
I sent 14 bytes to a client, then 6 bytes, (two seperate socket_send calls) but the 6 bytes are a copy of the first 6 of the 14 I sent earlier.
TheInnocentOne
Unregistered
Quote:
[13:27:01] Loading plugin: sockets.so
[13:27:01] Failed (plugins/sockets.so: undefined symbol: sock)
|
Uhm, what?
Posts: 209
Threads: 19
Joined: Dec 2008
Quote:
Originally Posted by ev0lutionnn
SA-MP uses UDP, and this is a TCP plugin. You could only send data to other servers using this plugin.
Great update, StrickenKid, although it seems that there is now another error - I keep getting WSA error 10054 when trying to send data multiple times, and there is actually a problem.
I sent 14 bytes to a client, then 6 bytes, (two seperate socket_send calls) but the 6 bytes are a copy of the first 6 of the 14 I sent earlier.
|
Yes, that could be a TCP issue. Read a little about TCP, and you will see TCP can't guarantee that the receiver will get the full amount of data you sent. Sometimes you need to send it twice or more to actually send the data correctly.
I know I already said it, but I'm currently working on a RakNet based plugin, and as far as I know RakNet does not have these issues.
Posts: 36
Threads: 2
Joined: Aug 2009
Reputation:
0
RakNet uses UDP.
TCP checks for packet loss unlike UDP.
Posts: 209
Threads: 19
Joined: Dec 2008
Posts: 377
Threads: 0
Joined: Jan 2008
Reputation:
0
This could be useful for making a very simple fast IRC script....
Posts: 209
Threads: 19
Joined: Dec 2008
Quote:
Originally Posted by ev0lutionnn
Yes... you meant UDP, which has the issues you claim to be the cause of my problem. You say this despite this plugin clearly being TCP.
And your solution is to build a plugin which uses UDP? (because, as hencz said, RakNet uses UDP)
|
No, I'm making a RakNet version of this plugin, just to compare speed etc..
Posts: 797
Threads: 21
Joined: Jan 2007
Reputation:
0
I love this plugin and i have remade some old projects that i had issues with using this plugin. It makes life easier for me. Keep it going, unlike me. lol
Posts: 2
Threads: 0
Joined: Jun 2010
Reputation:
0
thanks, great plugin!
continue to develop it
Sorry me for my bad english)