This plugin is only useful for Unity 4 free version users. Built-in sockets are already enabled for Unity 4 Pro and Unity 5 users.
Good ol’ Sockets is a drop-in substitute for System.Net.Sockets namespace subset. It is designed to make it possible for Unity developers to use sockets on Android and iOS platforms without a Pro license. It also includes an automatic patcher tool that allows to convert popular assets (such as Photon Networking Free, Tasharen Networking, UniWeb and others) in a single click!
Good ol’ Sockets aim to replicate the API of .NET sockets as close as possible. What this means for you is that you can use pretty much any code that uses System.Net.Sockets, including MSDN and hundreds of tutorials over the Web. Two simple commented demo scenes are also included.
Note: Good Ol’ Sockets are slower than native Unity implementation, and do not implement whole System.Net.Sockets and System.Net namespaces. However, this won’t affect most applications, as sockets are rarely the bottleneck, and the chosen API subset is sufficient for almost any needs.
$7500? But Pro licenses for iOS+Android is $1500+$1500, isn’t it?
Performance decrease for asset like UniWeb is negligible, I don’t think it’d be actually possible to notice any difference.
I think it would be 1500 for pro, 1500, for android, and 1500 for ios. So that’s 4500. Not sure where I got 7500 from. Even with blackberry and team license it’s 6500. That might have been what I meant to say.
Came across your pluggin on reccomend from the BestHTTP plugin dev. Our team is trying out BestHTTP to replace WWW class, but we don’t want to purchase 5+ seats of pro licenses so we can design / QA. Your plugin is exactly what we’re looking for.
BUT:
When I attempt to run Tools > Lost Polygon > Patch , I get the following error:
that’s weird, I haven’t encountered this issue before. Can you please try importing just BestHTTP+Good ol’ Sockets in a new project and see if it works then?
I was able to get it to work in a new project with only BestHTTP and Good Ol’ Sockets imported. Brought the updated files back into my project and exported without a hitch. Thanks for the suggestion.
Standard Unity network does not uses .NET sockets, so the question doesn’t really applies. Standard networking works on all platforms on free version of Unity.
I have to inform everyone who uses Good ol’ Sockets that current version v1.2.3 contains a bug, preventing correct work with Tasharen Network and, probably, some other assets. The fix is already submitted to the Asset Store, but it may take a few days to get approved, so meanwhile, just PM me with your invoice number and I’ll send the update to you. Sorry for all the inconvenience.
Hi everyone,
the 1.2.4 update is now live on the Asset Store and includes the fix for issues introduced in 1.2.3, and also has added TNet 1.9.6b compatibility.
Oh, just did some googling and it seems like sometimes it doesn’t gets applied to the project automatically. In that case, go to Project → Active Runtime and select the Unity runtime from there: